Class ALsp3DPrimitive
java.lang.Object
com.luciad.view.lightspeed.geometry.discretization.ALsp3DPrimitive
- Direct Known Subclasses:
TLspEditable3DPrimitive
An abstract class for a 3D primitive contained in an ALsp3DMesh. A primitive can
be a point, a line, a triangle, or any of the other types defined in
TLcd3DPrimitiveType. A primitive consists of a collection of indices. Each index
corresponds to a point in the ALsp3DMesh defining a vertex, normal, color
and a texture coordinate.
- Since:
- 2012.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract intgetElement(int aIndex) Returns the point index at the specified index.abstract intReturns the number of elements contained in this primitive.abstract TLcd3DPrimitiveTypeReturns this primitive's type.
-
Constructor Details
-
ALsp3DPrimitive
public ALsp3DPrimitive()
-
-
Method Details
-
getPrimitiveType
Returns this primitive's type.- Returns:
- this primitive's type
-
getElementCount
public abstract int getElementCount()Returns the number of elements contained in this primitive.- Returns:
- the number of elements contained in this primitive
-
getElement
public abstract int getElement(int aIndex) Returns the point index at the specified index.- Parameters:
aIndex- the index of the requested point- Returns:
- the point index at the specified index
-