public abstract class TriangulatorResult extends Object implements IDisposable
TriangleMeshPrimitive or
SurfaceMeshPrimitive.| Modifier | Constructor and Description |
|---|---|
protected |
TriangulatorResult() |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting
unmanaged resources.
|
protected void |
dispose(boolean disposing) |
BoundingSphere |
getBoundingSphere()
Gets the bounding sphere that encompasses the mesh.
|
BaseCollection<Integer> |
getIndices()
Gets indices into
Positions and Normals. |
BaseCollection<Cartesian> |
getNormals()
Gets the normals of the mesh.
|
BaseCollection<Cartesian> |
getPositions()
Gets the positions of the mesh.
|
WindingOrder |
getTriangleWindingOrder()
Gets the orientation of front-facing triangles in the mesh.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclosepublic final void dispose()
IDisposabledispose in interface IDisposableprotected void dispose(boolean disposing)
public BaseCollection<Cartesian> getPositions()
public BaseCollection<Cartesian> getNormals()
Positions has
corresponding normal. Normals are commonly used for lighting.public BaseCollection<Integer> getIndices()
Positions and Normals.
Every 3 indices represent 1 triangle.Positions,
Normalspublic WindingOrder getTriangleWindingOrder()
public BoundingSphere getBoundingSphere()