Package com.gaia3d.basic.model
Class GaiaSurface
java.lang.Object
com.gaia3d.basic.model.structure.SurfaceStructure
com.gaia3d.basic.model.GaiaSurface
- All Implemented Interfaces:
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
calculateNormal
(List<GaiaVertex> vertices) void
calculateVertexNormals
(List<GaiaVertex> vertices) void
clear()
clone()
int
deleteDegeneratedFaces
(List<GaiaVertex> vertices) int[]
int
getMapVertexFaces
(List<GaiaVertex> vertices) void
getWeldedFaces
(List<List<GaiaFace>> resultWeldedFaces) void
void
makeTriangularFaces
(List<GaiaVertex> vertices)
-
Constructor Details
-
GaiaSurface
public GaiaSurface()
-
-
Method Details
-
calculateNormal
-
calculateVertexNormals
-
getMapVertexFaces
-
getIndices
public int[] getIndices() -
getIndicesCount
public int getIndicesCount() -
clear
public void clear() -
clone
-
getWeldedFaces
-
deleteDegeneratedFaces
-
makeTriangleFaces
public void makeTriangleFaces() -
makeTriangularFaces
-