Class GaiaSurface

All Implemented Interfaces:
Serializable

public class GaiaSurface extends SurfaceStructure implements Serializable
A class that represents a face of a Gaia object. It contains the indices and the face normal. The face normal is calculated by the indices and the vertices.
See Also:
  • Constructor Details

    • GaiaSurface

      public GaiaSurface()
  • Method Details

    • calculateNormal

      public void calculateNormal(List<GaiaVertex> vertices)
    • calculateVertexNormals

      public void calculateVertexNormals(List<GaiaVertex> vertices)
    • getMapVertexFaces

      public Map<GaiaVertex,List<GaiaFace>> getMapVertexFaces(List<GaiaVertex> vertices)
    • getIndices

      public int[] getIndices()
    • getIndicesCount

      public int getIndicesCount()
    • clear

      public void clear()
    • clone

      public GaiaSurface clone()
    • getWeldedFaces

      public void getWeldedFaces(List<List<GaiaFace>> resultWeldedFaces)
    • deleteDegeneratedFaces

      public int deleteDegeneratedFaces(List<GaiaVertex> vertices)
    • makeTriangleFaces

      public void makeTriangleFaces()
    • makeTriangularFaces

      public void makeTriangularFaces(List<GaiaVertex> vertices)