Interface TriangleMesh.Face

All Superinterfaces:
Mesh.Face
All Known Implementing Classes:
SimpleTriangleMesh.SimpleTriangleFace
Enclosing interface:
TriangleMesh

public static interface TriangleMesh.Face extends Mesh.Face
Interface representing a single triangular face in a mesh.
  • Method Details

    • getPoint1

      Vector3D getPoint1()
      Get the first vertex in the face.
      Returns:
      the first vertex in the face
    • getPoint2

      Vector3D getPoint2()
      Get the second vertex in the face.
      Returns:
      the second vertex in the face
    • getPoint3

      Vector3D getPoint3()
      Get the third vertex in the face.
      Returns:
      the third vertex in the face
    • getPolygon

      Triangle3D getPolygon()
      Get the 3D polygon defined by this face.
      Specified by:
      getPolygon in interface Mesh.Face
      Returns:
      the 3D polygon defined by this face
      See Also: