Package com.gaia3d.basic.halfedge
Class HalfEdge
java.lang.Object
com.gaia3d.basic.halfedge.HalfEdge
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
getIntersectionByPlane
(PlaneType planeType, org.joml.Vector3d planePosition, HalfEdgeVertex resultIntesectionVertex, double error) double
getPrev()
double
org.joml.Vector3d
getVector
(org.joml.Vector3d resultVector) boolean
hasTwin()
boolean
intersectsPlane
(PlaneType planeType, org.joml.Vector3d planePosition, double error) boolean
boolean
boolean
boolean
boolean
void
readFile
(ObjectInputStream inputStream) void
setFace
(HalfEdgeFace face) void
void
setStartVertex
(HalfEdgeVertex startVertex) boolean
void
untwin()
void
writeFile
(ObjectOutputStream outputStream)
-
Field Details
-
note
-
-
Constructor Details
-
HalfEdge
public HalfEdge()
-
-
Method Details
-
setStartVertex
-
setFace
-
setTwin
-
untwin
public void untwin() -
hasTwin
public boolean hasTwin() -
getEndVertex
-
isTwineableByPointers
-
isTwin
-
getSquaredLength
public double getSquaredLength() -
getLength
public double getLength() -
getLoop
-
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
-
readFile
-
intersectsPlane
-