Package gov.nih.mipav.model.structures
Class ComputationalGeometry._Intersections
java.lang.Object
gov.nih.mipav.model.structures.ComputationalGeometry._Intersections
- Enclosing class:
ComputationalGeometry
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprivate ComputationalGeometry.MyVector2private ComputationalGeometry.MyVector3GetPlanePlaneIntersectionPoint(ComputationalGeometry.Plane2 plane_1, ComputationalGeometry.Plane2 plane_2) booleanbooleanLineLine(ComputationalGeometry.Edge2 a, ComputationalGeometry.Edge2 b, boolean includeEndPoints) booleanbooleanPlanePlane(ComputationalGeometry.Plane2 plane_1, ComputationalGeometry.Plane2 plane_2) PointCircle(ComputationalGeometry.MyVector2 a, ComputationalGeometry.MyVector2 b, ComputationalGeometry.MyVector2 c, ComputationalGeometry.MyVector2 testPoint) booleanPointPolygon(ArrayList<ComputationalGeometry.MyVector2> polygonPoints, ComputationalGeometry.MyVector2 point) booleanPointTriangle(ComputationalGeometry.Triangle2 t, ComputationalGeometry.MyVector2 p, boolean includeBorder) booleanPointWithinConvexHull(ComputationalGeometry.MyVector3 point, ComputationalGeometry.HalfEdgeData3 convexHull) booleanbooleanTriangleTriangle(ComputationalGeometry.Triangle2 t1, ComputationalGeometry.Triangle2 t2, boolean do_AABB_test)
-
Constructor Details
-
_Intersections
public _Intersections()
-
-
Method Details
-
LineLine
public boolean LineLine(ComputationalGeometry.Edge2 a, ComputationalGeometry.Edge2 b, boolean includeEndPoints) -
GetLineLineIntersectionPoint
public ComputationalGeometry.MyVector2 GetLineLineIntersectionPoint(ComputationalGeometry.Edge2 a, ComputationalGeometry.Edge2 b) -
GetIntersectionCoordinate
private ComputationalGeometry.MyVector2 GetIntersectionCoordinate(ComputationalGeometry.Plane2 plane, ComputationalGeometry.Ray2 ray) -
GetIntersectionCoordinate
private ComputationalGeometry.MyVector3 GetIntersectionCoordinate(ComputationalGeometry.Plane3 plane, ComputationalGeometry.Ray3 ray) -
RayPlane
-
GetRayPlaneIntersectionPoint
public ComputationalGeometry.MyVector2 GetRayPlaneIntersectionPoint(ComputationalGeometry.Plane2 plane, ComputationalGeometry.Ray2 ray) -
LinePlane
-
GetLinePlaneIntersectionPoint
public ComputationalGeometry.MyVector2 GetLinePlaneIntersectionPoint(ComputationalGeometry.Plane2 plane, ComputationalGeometry.Edge2 line) -
GetLinePlaneIntersectionPoint
public ComputationalGeometry.MyVector3 GetLinePlaneIntersectionPoint(ComputationalGeometry.Plane3 plane, ComputationalGeometry.Edge3 line) -
PlanePlane
public boolean PlanePlane(ComputationalGeometry.Plane2 plane_1, ComputationalGeometry.Plane2 plane_2) -
GetPlanePlaneIntersectionPoint
public ComputationalGeometry.MyVector2 GetPlanePlaneIntersectionPoint(ComputationalGeometry.Plane2 plane_1, ComputationalGeometry.Plane2 plane_2) -
PointTriangle
public boolean PointTriangle(ComputationalGeometry.Triangle2 t, ComputationalGeometry.MyVector2 p, boolean includeBorder) -
IsTriangleInsideTriangle
public boolean IsTriangleInsideTriangle(ComputationalGeometry.Triangle2 t1, ComputationalGeometry.Triangle2 t2) -
AABB_AABB
-
PointCircle
public ComputationalGeometry.IntersectionCases PointCircle(ComputationalGeometry.MyVector2 a, ComputationalGeometry.MyVector2 b, ComputationalGeometry.MyVector2 c, ComputationalGeometry.MyVector2 testPoint) -
PointPolygon
public boolean PointPolygon(ArrayList<ComputationalGeometry.MyVector2> polygonPoints, ComputationalGeometry.MyVector2 point) -
PointWithinConvexHull
public boolean PointWithinConvexHull(ComputationalGeometry.MyVector3 point, ComputationalGeometry.HalfEdgeData3 convexHull) -
TriangleTriangle
public boolean TriangleTriangle(ComputationalGeometry.Triangle2 t1, ComputationalGeometry.Triangle2 t2, boolean do_AABB_test)
-