Package gov.nih.mipav.model.structures
Class ComputationalGeometry.SutherlandHodgman
java.lang.Object
gov.nih.mipav.model.structures.ComputationalGeometry.SutherlandHodgman
- Enclosing class:
ComputationalGeometry
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClipPolygon(ArrayList<ComputationalGeometry.MyVector2> poly, ArrayList<ComputationalGeometry.MyVector2> clipPoly) ClipPolygon2(ArrayList<ComputationalGeometry.MyVector2> poly, ArrayList<ComputationalGeometry.Plane2> clippingPlanes)
-
Constructor Details
-
SutherlandHodgman
public SutherlandHodgman()
-
-
Method Details
-
ClipPolygon
public ArrayList<ComputationalGeometry.MyVector2> ClipPolygon(ArrayList<ComputationalGeometry.MyVector2> poly, ArrayList<ComputationalGeometry.MyVector2> clipPoly) -
ClipPolygon2
public ArrayList<ComputationalGeometry.MyVector2> ClipPolygon2(ArrayList<ComputationalGeometry.MyVector2> poly, ArrayList<ComputationalGeometry.Plane2> clippingPlanes) -
GetClippingPlanes
public ArrayList<ComputationalGeometry.Plane2> GetClippingPlanes(ArrayList<ComputationalGeometry.MyVector2> clipPoly)
-