Class Tessellate
java.lang.Object
org.openscience.cdk.geometry.surface.Tessellate
Performs a tessellation of the unit sphere.
This class generates the coordinates of the triangles that will
tessellate the unit sphere. The algorithm is recursive subdivision
of an initial representation which can be tetrahedral, octahedral or
icosahedral. The default is icosahedral. The number of points generated
depends on the level of subdivision. The default is 4 levels and with the
initial icosahedral representation this gives 1536 points.
The constants for the tetrahedral and icosahedral representations were taken from http://eeg.sourceforge.net/eegdoc/eeg_toolbox/sphere_tri.html
- Author:
- Rajarshi Guha
- Created on:
- 2005-05-08
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Tessellate
public Tessellate() -
Tessellate
-
-
Method Details
-
doTessellate
public void doTessellate() -
getNumberOfTriangles
public int getNumberOfTriangles() -
getTessAsTriangles
-
getTessAsPoint3ds
public javax.vecmath.Point3d[] getTessAsPoint3ds()
-