Class HalfEdge

java.lang.Object
com.gaia3d.basic.halfedge.HalfEdge
All Implemented Interfaces:
Serializable

public class HalfEdge extends Object implements Serializable
See Also:
  • Field Details

  • Constructor Details

    • HalfEdge

      public HalfEdge()
  • Method Details

    • setStartVertex

      public void setStartVertex(HalfEdgeVertex startVertex)
    • setFace

      public void setFace(HalfEdgeFace face)
    • setTwin

      public boolean setTwin(HalfEdge twin)
    • untwin

      public void untwin()
    • hasTwin

      public boolean hasTwin()
    • getEndVertex

      public HalfEdgeVertex getEndVertex()
    • isTwineableByPointers

      public boolean isTwineableByPointers(HalfEdge twin)
    • isTwin

      public boolean isTwin(HalfEdge halfEdge)
    • getSquaredLength

      public double getSquaredLength()
    • getLength

      public double getLength()
    • getLoop

      public List<HalfEdge> getLoop(List<HalfEdge> resultHalfEdgesLoop)
    • getPrev

      public HalfEdge getPrev()
    • getVector

      public org.joml.Vector3d getVector(org.joml.Vector3d resultVector)
    • isDegeneratedByPointers

      public boolean isDegeneratedByPointers()
    • isDegeneratedByPositions

      public boolean isDegeneratedByPositions()
    • breakRelations

      public void breakRelations()
    • setItselfAsOutingHalfEdgeToTheStartVertex

      public void setItselfAsOutingHalfEdgeToTheStartVertex()
    • isApplauseEdge

      public boolean isApplauseEdge()
    • getIntersectionByPlane

      public boolean getIntersectionByPlane(PlaneType planeType, org.joml.Vector3d planePosition, HalfEdgeVertex resultIntesectionVertex, double error)
    • writeFile

      public void writeFile(ObjectOutputStream outputStream)
    • readFile

      public void readFile(ObjectInputStream inputStream)
    • intersectsPlane

      public boolean intersectsPlane(PlaneType planeType, org.joml.Vector3d planePosition, double error)