public abstract class ALsp3DMesh extends Object implements ILcdBounded
getPositionSFCT(int, com.luciad.shape.shape3D.ILcd3DEditablePoint)
.
Optionally a texture coordinate is available for each vertex, which can be queried
via getTextureCoordinate(int, ILcd2DEditablePoint)
. To check if the mesh is textured use isTextured()
.Constructor and Description |
---|
ALsp3DMesh()
Creates a new
ALsp3DMesh instance. |
Modifier and Type | Method and Description |
---|---|
abstract void |
getPositionSFCT(int aIndex,
ILcd3DEditablePoint aPositionSFCT)
Retrieves the position of the specified vertex.
|
abstract ALsp3DPrimitive |
getPrimitive(int aIndex)
Retrieves a primitive from this mesh.
|
abstract int |
getPrimitiveCount()
Returns the number of primitives in this mesh
|
void |
getTextureCoordinate(int aIndex,
ILcd2DEditablePoint aTextureCoordinateSFCT)
Retrieves the texture coordinate for the vertex at the specified index.
|
abstract int |
getVertexCount()
Returns the number of vertices in this mesh
|
boolean |
isTextured()
Returns whether or not this mesh is textured.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBounds
public abstract int getVertexCount()
public abstract void getPositionSFCT(int aIndex, ILcd3DEditablePoint aPositionSFCT)
aIndex
- the index of the vertex to be retrievedaPositionSFCT
- the position of the vertex with specified indexpublic abstract int getPrimitiveCount()
getPrimitive(int)
public abstract ALsp3DPrimitive getPrimitive(int aIndex)
aIndex
- the index of the requested primitiveTLcd3DPrimitiveType
public boolean isTextured()
public void getTextureCoordinate(int aIndex, ILcd2DEditablePoint aTextureCoordinateSFCT)
aIndex
- the index of the vertex for which to retrieve the texture coordinate.aTextureCoordinateSFCT
- the texture coordinate of the vertex at the specified index