Package eu.mihosoft.vrl.v3d
Class Edge
java.lang.Object
eu.mihosoft.vrl.v3d.Edge
- Author:
- miho
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription_toPolygons(List<Edge> boundaryEdges, Plane plane) boundaryPathsWithHoles(List<Polygon> boundaryPaths) boundaryPolygons(CSG csg) booleanDetermines whether the specified point lies on tthis edge.booleanDetermines whether the specified point lies on tthis edge.booleanfromPolygon(Polygon poly) Returns the the point of this edge that is closest to the specified edge.Returns the intersection point between this edge and the specified edge.getP1()getP2()inthashCode()toPolygons(List<Edge> boundaryEdges, Plane plane) toVertices(List<Edge> edges) 
- 
Field Details- 
KEY_POLYGON_HOLES- See Also:
 
 
- 
- 
Constructor Details- 
Edge
 
- 
- 
Method Details- 
getP1- Returns:
- the p1
 
- 
getP2- Returns:
- the p2
 
- 
fromPolygon
- 
toVertices
- 
toPoints
- 
toPolygons
- 
boundaryPathsWithHoles
- 
_toPolygons
- 
containsDetermines whether the specified point lies on tthis edge.- Parameters:
- p- point to check
- TOL- tolerance
- Returns:
- trueif the specified point lies on this line segment;- falseotherwise
 
- 
containsDetermines whether the specified point lies on tthis edge.- Parameters:
- p- point to check
- Returns:
- trueif the specified point lies on this line segment;- falseotherwise
 
- 
hashCodepublic int hashCode()
- 
equals
- 
getDirection
- 
getClosestPointReturns the the point of this edge that is closest to the specified edge. NOTE: returns an empty optional if the edges are parallel- Parameters:
- e- the edge to check
- Returns:
- the the point of this edge that is closest to the specified edge
 
- 
getIntersectionReturns the intersection point between this edge and the specified edge. NOTE: returns an empty optional if the edges are parallel or if the intersection point is not inside the specified edge segment- Parameters:
- e- edge to intersect
- Returns:
- the intersection point between this edge and the specified edge
 
- 
boundaryPolygons
 
-