java.lang.Object
com.luciad.view.lightspeed.geometry.discretization.ALsp3DPrimitive
Direct Known Subclasses:
TLspEditable3DPrimitive

public abstract class ALsp3DPrimitive extends Object
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 Details

    • ALsp3DPrimitive

      public ALsp3DPrimitive()
  • Method Details

    • getPrimitiveType

      public abstract TLcd3DPrimitiveType 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