Class PolygonMesh

java.lang.Object
eu.mihosoft.vrl.v3d.ext.openjfx.shape3d.PolygonMesh
Direct Known Subclasses:
SubdivisionMesh

public class PolygonMesh extends Object
A Mesh where each face can be a Polygon can convert to using ObservableIntegerArray
  • Field Details

    • faces

      public int[][] faces
    • numEdgesInFaces

      protected int numEdgesInFaces
  • Constructor Details

    • PolygonMesh

      public PolygonMesh()
    • PolygonMesh

      public PolygonMesh(float[] points, float[] texCoords, int[][] faces)
  • Method Details

    • getPoints

      public javafx.collections.ObservableFloatArray getPoints()
    • getTexCoords

      public javafx.collections.ObservableFloatArray getTexCoords()
    • getFaceSmoothingGroups

      public javafx.collections.ObservableIntegerArray getFaceSmoothingGroups()
    • getNumEdgesInFaces

      public int getNumEdgesInFaces()
    • getPointElementSize

      public int getPointElementSize()
    • getTexCoordElementSize

      public int getTexCoordElementSize()
    • getFaceElementSize

      public int getFaceElementSize()