java.lang.Object
com.trapezium.attractor.FaceGenerator
- public class FaceGenerator
- extends java.lang.Object
The FaceGenerator generates a set of triangles based on a face from
the original attractor and its dual. The triangles are two points from
the attractor face edge, and the one dual point in the middle of the
attractor face.
- Since:
- 1.0
- Version:
- 1.0, 8 Oct 1998
|
Method Summary |
boolean |
getFace(int faceOffset,
int[] faceIndex)
Get the floater offset values of a particular generated face. |
int |
getNumberFaces()
Get the number of faces this will generate |
void |
loadFaceSet(int[] faceInts,
int dualMatch)
Almost a class constructor, FaceGenEnumerator optimization is to
set values rather than re-create a FaceGenerator. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
faces
com.trapezium.space.SpaceEntitySet faces
nearCoords
CoordAttractor nearCoords
numberFaces
int numberFaces
dualMatch
int dualMatch
face
int[] face
FaceGenerator
public FaceGenerator(com.trapezium.space.SpaceEntitySet faces,
CoordAttractor nearCoords)
- Class constructor.
loadFaceSet
public void loadFaceSet(int[] faceInts,
int dualMatch)
- Almost a class constructor, FaceGenEnumerator optimization is to
set values rather than re-create a FaceGenerator. This method
accepts those values.
getNumberFaces
public int getNumberFaces()
- Get the number of faces this will generate
getFace
public boolean getFace(int faceOffset,
int[] faceIndex)
- Get the floater offset values of a particular generated face.