Package toxi.geom.mesh
Class Face
java.lang.Object
toxi.geom.mesh.Face
- Direct Known Subclasses:
WEFace
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
final Vertex[]
getVertices
(Vertex[] verts) toString()
Creates a genericTriangle3D
instance using this face's vertices.
-
Field Details
-
a
-
b
-
c
-
uvA
-
uvB
-
uvC
-
normal
-
-
Constructor Details
-
Face
-
Face
-
-
Method Details
-
computeNormal
public void computeNormal() -
flipVertexOrder
public void flipVertexOrder() -
getCentroid
-
getVertices
-
toString
-
toTriangle
Creates a genericTriangle3D
instance using this face's vertices. The new instance is made up of copies of the original vertices and manipulating them will not impact the originals.- Returns:
- triangle copy of this mesh face
-