Package gov.nih.mipav.model.structures
Class ComputationalGeometry.IterativeHullAlgorithm3D
java.lang.Object
gov.nih.mipav.model.structures.ComputationalGeometry.IterativeHullAlgorithm3D
- Enclosing class:
ComputationalGeometry
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidBuildFirstTetrahedron(HashSet<ComputationalGeometry.MyVector3> points, ComputationalGeometry.HalfEdgeData3 convexHull) private ComputationalGeometry.Edge3FindEdgeFurthestApart(HashSet<ComputationalGeometry.MyVector3> pointsHashSet) private ComputationalGeometry.MyVector3FindPointFurthestAwayFromPlane(HashSet<ComputationalGeometry.MyVector3> points, ComputationalGeometry.Plane3 plane) private ComputationalGeometry.MyVector3FindPointFurthestFromEdge(ComputationalGeometry.Edge3 edge, HashSet<ComputationalGeometry.MyVector3> pointsHashSet) FindVisibleTriangleFromPoint(ComputationalGeometry.MyVector3 p, HashSet<ComputationalGeometry.HalfEdgeFace3> triangles) voidFindVisibleTrianglesAndBorderEdgesFromPoint(ComputationalGeometry.MyVector3 p, ComputationalGeometry.HalfEdgeData3 convexHull, HashSet<ComputationalGeometry.HalfEdgeFace3> visibleTriangles, HashSet<ComputationalGeometry.HalfEdge3> borderEdges) GenerateConvexHull(HashSet<ComputationalGeometry.MyVector3> points, boolean removeUnwantedTriangles, ComputationalGeometry.Normalizer3 normalizer)
-
Constructor Details
-
IterativeHullAlgorithm3D
public IterativeHullAlgorithm3D()
-
-
Method Details
-
GenerateConvexHull
public ComputationalGeometry.HalfEdgeData3 GenerateConvexHull(HashSet<ComputationalGeometry.MyVector3> points, boolean removeUnwantedTriangles, ComputationalGeometry.Normalizer3 normalizer) -
FindVisibleTrianglesAndBorderEdgesFromPoint
public void FindVisibleTrianglesAndBorderEdgesFromPoint(ComputationalGeometry.MyVector3 p, ComputationalGeometry.HalfEdgeData3 convexHull, HashSet<ComputationalGeometry.HalfEdgeFace3> visibleTriangles, HashSet<ComputationalGeometry.HalfEdge3> borderEdges) -
FindVisibleTriangleFromPoint
private ComputationalGeometry.HalfEdgeFace3 FindVisibleTriangleFromPoint(ComputationalGeometry.MyVector3 p, HashSet<ComputationalGeometry.HalfEdgeFace3> triangles) -
BuildFirstTetrahedron
public void BuildFirstTetrahedron(HashSet<ComputationalGeometry.MyVector3> points, ComputationalGeometry.HalfEdgeData3 convexHull) -
FindPointFurthestAwayFromPlane
private ComputationalGeometry.MyVector3 FindPointFurthestAwayFromPlane(HashSet<ComputationalGeometry.MyVector3> points, ComputationalGeometry.Plane3 plane) -
FindEdgeFurthestApart
private ComputationalGeometry.Edge3 FindEdgeFurthestApart(HashSet<ComputationalGeometry.MyVector3> pointsHashSet) -
FindPointFurthestFromEdge
private ComputationalGeometry.MyVector3 FindPointFurthestFromEdge(ComputationalGeometry.Edge3 edge, HashSet<ComputationalGeometry.MyVector3> pointsHashSet)
-