Java API by
Zvi Har’El

kaleido
Class Output

java.lang.Object
  extended by kaleido.Polyhedron
      extended by kaleido.Output

public class Output
extends Polyhedron

Class Output

Version:
$Id: Output.java,v 1.75 2007/02/09 20:06:07 rl Exp $
Author:
Zvi Har’El
See Also:
Class source code

Field Summary
(package private)  DecimalFormat df
           
 
Fields inherited from class kaleido.Polyhedron
adj, anti, BIG_EPSILON, config, D, DBL_EPSILON, drawn, dual, e, E, even, f, F, Fi, firstrot, ftype, g, gon, hemi, incid, index, K, m, M, minr, n, N, name, onesided, p, rot, snub, v, V, wythoff, γ, χ
 
Constructor Summary
Output(String s)
           
 
Method Summary
(package private)  void print(boolean justList, boolean needCoordinates, int digits)
          Prints the polyhedron data.
private  void print(double n, int l, int p, PrintStream out)
           
private  void print(String s, int l, PrintStream out)
           
private  void print(Vector3D v, int l, int p, PrintStream out)
           
private static String rgb(int n)
          Chooses a color for a given face valency.
(package private)  void write(String prefix, boolean uniform, int digits)
          Writes the uniform polyhedron or its dual as a VRML file.
private  void write(Vector3D v, int digits, PrintStream out)
          Prints the vector in a VRML format.
 
Methods inherited from class kaleido.Polyhedron
configuration, count, decompose, dihedral, draw, edgelist, exceptions, faces, guessname, mod, moebius, newton, paint, parse, resize, vertices
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

df

DecimalFormat df
Constructor Detail

Output

Output(String s)
Method Detail

print

void print(boolean justList,
           boolean needCoordinates,
           int digits)
Prints the polyhedron data.


print

private void print(String s,
                   int l,
                   PrintStream out)

print

private void print(double n,
                   int l,
                   int p,
                   PrintStream out)

print

private void print(Vector3D v,
                   int l,
                   int p,
                   PrintStream out)

write

void write(String prefix,
           boolean uniform,
           int digits)
Writes the uniform polyhedron or its dual as a VRML file.


write

private void write(Vector3D v,
                   int digits,
                   PrintStream out)
Prints the vector in a VRML format.


rgb

private static String rgb(int n)
Chooses a color for a given face valency.


Java API by
Zvi Har’El

Copyright © Zvi Har’El
$Date: 2007/10/15 13:50:30$