| java.lang.Object com.sun.j3d.utils.geometry.Project
Method Summary | |
static void | determineNormal(Triangulator triRef, int ind, Vector3f normal) This function computes the average of all normals defined by triples of
successive vertices of the polygon. | static void | projectFace(Triangulator triRef, int loopMin, int loopMax) This function projects the vertices of the polygons referenced by
loops[i1,..,i2-1] to an approximating plane. | static void | projectPoints(Triangulator triRef, int i1, int i2, Vector3f n3) This function maps the vertices of the polygon referenced by `ind' to the
plane n3.x * x + n3.y * y + n3.z * z = 0. |
determineNormal | static void determineNormal(Triangulator triRef, int ind, Vector3f normal)(Code) | | This function computes the average of all normals defined by triples of
successive vertices of the polygon. we'll see whether this is a good
heuristic for finding a suitable plane normal...
|
projectFace | static void projectFace(Triangulator triRef, int loopMin, int loopMax)(Code) | | This function projects the vertices of the polygons referenced by
loops[i1,..,i2-1] to an approximating plane.
|
projectPoints | static void projectPoints(Triangulator triRef, int i1, int i2, Vector3f n3)(Code) | | This function maps the vertices of the polygon referenced by `ind' to the
plane n3.x * x + n3.y * y + n3.z * z = 0. every mapped vertex (x,y,z)
is then expressed in terms of (x',y',z'), where z'=0. this is
achieved by transforming the original vertices into a coordinate system
whose z-axis coincides with n3, and whose two other coordinate axes n1
and n2 are orthonormal on n3. note that n3 is supposed to be of unit
length!
|
|
|