Package gov.nih.mipav.model.structures
Class ComputationalGeometry.TriangulateConvexHull
java.lang.Object
gov.nih.mipav.model.structures.ComputationalGeometry.TriangulateConvexHull
- Enclosing class:
ComputationalGeometry
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetTriangles(ArrayList<ComputationalGeometry.MyVector2> pointsOnHull, boolean addColinearPoints) GetTriangles(List<ComputationalGeometry.MyVector2> points, ComputationalGeometry.MyVector2 pointInside) private voidSplitTriangleEdge(ComputationalGeometry.Triangle2 t, ComputationalGeometry.MyVector2 p, HashSet<ComputationalGeometry.Triangle2> triangles)
-
Constructor Details
-
TriangulateConvexHull
public TriangulateConvexHull()
-
-
Method Details
-
GetTriangles
public HashSet<ComputationalGeometry.Triangle2> GetTriangles(ArrayList<ComputationalGeometry.MyVector2> pointsOnHull, boolean addColinearPoints) -
SplitTriangleEdge
private void SplitTriangleEdge(ComputationalGeometry.Triangle2 t, ComputationalGeometry.MyVector2 p, HashSet<ComputationalGeometry.Triangle2> triangles) -
GetTriangles
public HashSet<ComputationalGeometry.Triangle2> GetTriangles(List<ComputationalGeometry.MyVector2> points, ComputationalGeometry.MyVector2 pointInside)
-