anar

Class Platonic

java.lang.Object
  extended by anar.Parametric
      extended by anar.Obj
          extended by anar.Platonic
All Implemented Interfaces:
iTaggable, iTransformable
Direct Known Subclasses:
Sphere

public class Platonic
extends Obj

Basic Primitives based on Platonic solids. Types:

 TETRAHEDRON  = 0;
 OCTAHEDRON   = 1;
 DODECAHEDRON = 2;
 ICOSAHEDRON  = 3;
 SOCCER       = 4;
 SPHERE       = 5;
 GEODESIC_1   = 6;
 GEODESIC_2   = 7;
 


Field Summary
static int DODECAHEDRON
           
static int GEODESIC_1
           
static int GEODESIC_2
           
static int ICOSAHEDRON
           
static int OCTAHEDRON
           
static PApplet p5
           
static int SOCCER
           
static int SPHERE
           
static int TETRAHEDRON
           
 
Fields inherited from class anar.Obj
faces, globalRender, lines, pts, render
 
Fields inherited from class anar.Parametric
meta
 
Constructor Summary
Platonic(int type)
           
 
Method Summary
 
Methods inherited from class anar.Obj
add, add, add, add, addAllFaces, addAllPt, addAllPts, allPts, apply, area, area, bound, boundCenter, copy, draw, exportANSYS, exportANSYS, exportAutolisp, exportAutolisp, exportOBJ, exportOBJ, exportPovRAY, exportPovRAY, exportRadiance, exportRadiance, exportRhino, exportRhino, exportSketchUp, exportSketchUp, face, face, faceEnd, faceEnd, faceMod, fill, fill, fill, fill, fill, fill, fillP5, getFace, getLine, getPt, line, line, lineEnd, lineEnd, lineMod, numOfFaces, numOfLines, numOfPts, orphaned, pt, ptEnd, ptEnd, ptMod, removeFace, removeFace, removePt, removePt, removePts, removePts, render, render, render, render, rotateX, rotateX, rotateY, rotateY, rotateZ, rotateZ, scale, scale, scale, scale, scale, scale, scale, scale, scaleX, scaleX, scaleY, scaleY, scaleZ, scaleZ, set, set, set, setMeta, tag, tag, toANSYS, toAutocad, toAutocad, toObjExporter, toObjExporter, toObjExporter, toObjExporter, toPovRay, toPovRay, toRadiance, toRhino, toRhino, toSketchUp, toSketchUp, toString, translate, translate, translate, translate, translate, translate, translateX, translateX, translateY, translateY, translateZ, translateZ, triangulate
 
Methods inherited from class anar.Parametric
child, get, getMeta, getPrimitive, parent, parent, parentList, parentList, parentList, parentListGraphViz, parentListGraphViz, parentListRecursive, parentListRecursiveGraphViz, parentToString, parentToStringRecursive, parentToStringRecursive, primitiveToString, replaceParent, replaceParent, replicate, tag
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

p5

public static PApplet p5

TETRAHEDRON

public static final int TETRAHEDRON
See Also:
Constant Field Values

OCTAHEDRON

public static final int OCTAHEDRON
See Also:
Constant Field Values

DODECAHEDRON

public static final int DODECAHEDRON
See Also:
Constant Field Values

ICOSAHEDRON

public static final int ICOSAHEDRON
See Also:
Constant Field Values

SOCCER

public static final int SOCCER
See Also:
Constant Field Values

SPHERE

public static final int SPHERE
See Also:
Constant Field Values

GEODESIC_1

public static final int GEODESIC_1
See Also:
Constant Field Values

GEODESIC_2

public static final int GEODESIC_2
See Also:
Constant Field Values
Constructor Detail

Platonic

public Platonic(int type)