org.jmol.api
Interface TriangleServer

All Known Implementing Classes:
MarchingCubes, TriangleData

public interface TriangleServer


Method Summary
 javax.vecmath.Point3i[] getCubeVertexOffsets()
           
 java.util.Vector intersectPlane(javax.vecmath.Point4f plane, javax.vecmath.Point3f[] vertices, int flags)
          a generic cell - plane intersector -- used for finding the plane through a unit cell
 

Method Detail

getCubeVertexOffsets

javax.vecmath.Point3i[] getCubeVertexOffsets()

intersectPlane

java.util.Vector intersectPlane(javax.vecmath.Point4f plane,
                                javax.vecmath.Point3f[] vertices,
                                int flags)
a generic cell - plane intersector -- used for finding the plane through a unit cell

Parameters:
plane -
vertices -
flags - 1 -- edges only 2 -- triangles only 3 -- both
Returns:
Vector of Point3f[3] triangles and Point3f[2] edge lines