Package gov.nih.mipav.model.structures
Class ComputationalGeometry.GreinerHormann
- java.lang.Object
-
- gov.nih.mipav.model.structures.ComputationalGeometry.GreinerHormann
-
- Enclosing class:
- ComputationalGeometry
public class ComputationalGeometry.GreinerHormann extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description GreinerHormann()
-
Method Summary
-
-
-
Method Detail
-
ClipPolygons
public java.util.ArrayList<java.util.ArrayList<ComputationalGeometry.MyVector2>> ClipPolygons(java.util.ArrayList<ComputationalGeometry.MyVector2> polyVector2, java.util.ArrayList<ComputationalGeometry.MyVector2> clipPolyVector2, ComputationalGeometry.BooleanOperation booleanOperation)
-
AddPolygonToList
private void AddPolygonToList(java.util.ArrayList<ComputationalGeometry.ClipVertex> verticesToAdd, java.util.ArrayList<java.util.ArrayList<ComputationalGeometry.MyVector2>> finalPoly, boolean shouldReverse)
-
GetClippedPolygon
private java.util.ArrayList<ComputationalGeometry.ClipVertex> GetClippedPolygon(java.util.ArrayList<ComputationalGeometry.ClipVertex> poly, boolean getIntersectionPolygon)
-
ResetVertices
private void ResetVertices(java.util.List<ComputationalGeometry.ClipVertex> poly)
-
IsPolygonInsidePolygon
private boolean IsPolygonInsidePolygon(java.util.ArrayList<ComputationalGeometry.MyVector2> polyOne, java.util.ArrayList<ComputationalGeometry.MyVector2> polyTwo)
-
FindFirstEntryVertex
private ComputationalGeometry.ClipVertex FindFirstEntryVertex(java.util.ArrayList<ComputationalGeometry.ClipVertex> poly)
-
InitDataStructure
private java.util.ArrayList<ComputationalGeometry.ClipVertex> InitDataStructure(java.util.ArrayList<ComputationalGeometry.MyVector2> polyVector)
-
InsertIntersectionVertex
private ComputationalGeometry.ClipVertex InsertIntersectionVertex(ComputationalGeometry.MyVector2 a, ComputationalGeometry.MyVector2 b, ComputationalGeometry.MyVector2 intersectionPoint, ComputationalGeometry.ClipVertex currentVertex)
-
MarkEntryExit
private void MarkEntryExit(java.util.ArrayList<ComputationalGeometry.ClipVertex> poly, java.util.ArrayList<ComputationalGeometry.MyVector2> clipPolyVector)
-
DebugEntryExit
private void DebugEntryExit(java.util.ArrayList<ComputationalGeometry.ClipVertex> polyList)
-
InWhichOrderAreVerticesAdded
private void InWhichOrderAreVerticesAdded(java.util.ArrayList<ComputationalGeometry.ClipVertex> polyList)
-
-