Class TLcd3DPrimitiveType

java.lang.Object
com.luciad.format.object3d.TLcd3DPrimitiveType

public final class TLcd3DPrimitiveType extends Object
A type-safe enumeration of the valid primitive types that can be used inside an ILcd3DMesh.
  • Field Details

    • POINTS

      public static final TLcd3DPrimitiveType POINTS
      One point at each vertex.
    • LINES

      public static final TLcd3DPrimitiveType LINES
      A series of unconnected line segments. A line segment is formed between v0 and v1, v2 and v3, ...
    • LINE_STRIP

      public static final TLcd3DPrimitiveType LINE_STRIP
      A connected line. A line is drawn from v0 to v1, from v1 to v2, ...
    • LINE_LOOP

      public static final TLcd3DPrimitiveType LINE_LOOP
      The same as line strip, except that the final and first vertex are also connected by a line segment.
    • TRIANGLES

      public static final TLcd3DPrimitiveType TRIANGLES
      A series of triangles. A triangle is formed using (v0, v1, v2), (v3, v4, v5), ...
    • TRIANGLE_STRIP

      public static final TLcd3DPrimitiveType TRIANGLE_STRIP
      A series of connected triangles. Triangles are formed using (v0, v1, v2), (v2, v1, v3), (v2, v3, v4), ...
    • TRIANGLE_FAN

      public static final TLcd3DPrimitiveType TRIANGLE_FAN
      The same as triangle strip except that the first vertex is shared by each triangle. Triangles are then formed using (v0, v1, v2), (v0, v2, v3), (v0, v3, v4), ...
    • QUADS

      public static final TLcd3DPrimitiveType QUADS
      A series of quadrilaterals (four-sided polygons). Quads are formed using (v0, v1, v2, v3), (v4, v5, v6, v7), ...
    • QUAD_STRIP

      public static final TLcd3DPrimitiveType QUAD_STRIP
      A series of connected quadrilaterals. Quads are formed using (v0, v1, v3, v2), (v2, v3, v5, v4), (v4, v5, v7, v6), ...
    • POLYGON

      public static final TLcd3DPrimitiveType POLYGON
      An arbitrary polygon.
  • Method Details