Package org.joml
Class Intersectiond
java.lang.Object
org.joml.Intersectiond
public class Intersectiond
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description static int
AAR_SIDE_MAXX
static int
AAR_SIDE_MAXY
static int
AAR_SIDE_MINX
static int
AAR_SIDE_MINY
static int
INSIDE
static int
ONE_INTERSECTION
static int
OUTSIDE
static int
POINT_ON_TRIANGLE_EDGE
static int
POINT_ON_TRIANGLE_FACE
static int
POINT_ON_TRIANGLE_VERTEX
static int
TWO_INTERSECTION
-
Constructor Summary
Constructors Constructor Description Intersectiond()
-
Method Summary
Modifier and Type Method Description static double
distancePointLine(double double1, double double2, double double3, double double4, double double5)
static double
distancePointLine(double double1, double double2, double double3, double double4, double double5, double double6)
static double
distancePointPlane(double double1, double double2, double double3, double double4, double double5, double double6, double double7)
static double
distancePointPlane(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9, double double10, double double11, double double12)
static int
findClosestPointOnTriangle(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9, double double10, double double11, double double12, Vector3d vector3d)
static int
findClosestPointOnTriangle(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, Vector2d vector2d)
static int
findClosestPointOnTriangle(Vector2dc vector2dc, Vector2dc vector2dc2, Vector2dc vector2dc3, Vector2dc vector2dc4, Vector2d vector2d)
static int
findClosestPointOnTriangle(Vector3dc vector3dc, Vector3dc vector3dc2, Vector3dc vector3dc3, Vector3dc vector3dc4, Vector3d vector3d)
static boolean
intersectCircleCircle(double double1, double double2, double double3, double double4, double double5, double double6, Vector3d vector3d)
static boolean
intersectCircleCircle(Vector2dc vector2dc, double double1, Vector2dc vector2dc2, double double2, Vector3d vector3d)
static boolean
intersectLineCircle(double double1, double double2, double double3, double double4, double double5, double double6, double double7, Vector3d vector3d)
static boolean
intersectLineCircle(double double1, double double2, double double3, double double4, double double5, double double6, Vector3d vector3d)
static boolean
intersectLineLine(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, Vector2d vector2d)
static int
intersectLineSegmentAab(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9, double double10, double double11, double double12, Vector2d vector2d)
static int
intersectLineSegmentAab(Vector3dc vector3dc, Vector3dc vector3dc2, Vector3dc vector3dc3, Vector3dc vector3dc4, Vector2d vector2d)
static int
intersectLineSegmentAar(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, Vector2d vector2d)
static int
intersectLineSegmentAar(Vector2dc vector2dc, Vector2dc vector2dc2, Vector2dc vector2dc3, Vector2dc vector2dc4, Vector2d vector2d)
static boolean
intersectLineSegmentPlane(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9, double double10, Vector3d vector3d)
static boolean
intersectLineSegmentTriangle(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9, double double10, double double11, double double12, double double13, double double14, double double15, double double16, Vector3d vector3d)
static boolean
intersectLineSegmentTriangle(Vector3dc vector3dc, Vector3dc vector3dc2, Vector3dc vector3dc3, Vector3dc vector3dc4, Vector3dc vector3dc5, double double1, Vector3d vector3d)
static boolean
intersectPlaneSphere(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, Vector4d vector4d)
static int
intersectPolygonRay(double[] doubleArray, double double1, double double2, double double3, double double4, Vector2d vector2d)
static int
intersectPolygonRay(Vector2dc[] vector2dcArray, double double1, double double2, double double3, double double4, Vector2d vector2d)
static boolean
intersectRayAab(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9, double double10, double double11, double double12, Vector2d vector2d)
static boolean
intersectRayAab(Vector3dc vector3dc, Vector3dc vector3dc2, Vector3dc vector3dc3, Vector3dc vector3dc4, Vector2d vector2d)
static int
intersectRayAar(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, Vector2d vector2d)
static int
intersectRayAar(Vector2dc vector2dc, Vector2dc vector2dc2, Vector2dc vector2dc3, Vector2dc vector2dc4, Vector2d vector2d)
static boolean
intersectRayCircle(double double1, double double2, double double3, double double4, double double5, double double6, double double7, Vector2d vector2d)
static boolean
intersectRayCircle(Vector2dc vector2dc, Vector2dc vector2dc2, Vector2dc vector2dc3, double double1, Vector2d vector2d)
static double
intersectRayLine(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9)
static double
intersectRayLine(Vector2dc vector2dc, Vector2dc vector2dc2, Vector2dc vector2dc3, Vector2dc vector2dc4, double double1)
static double
intersectRayLineSegment(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8)
static double
intersectRayLineSegment(Vector2dc vector2dc, Vector2dc vector2dc2, Vector2dc vector2dc3, Vector2dc vector2dc4)
static double
intersectRayPlane(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9, double double10, double double11)
static double
intersectRayPlane(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9, double double10, double double11, double double12, double double13)
static double
intersectRayPlane(Vector3dc vector3dc, Vector3dc vector3dc2, Vector3dc vector3dc3, Vector3dc vector3dc4, double double1)
static boolean
intersectRaySphere(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9, double double10, Vector2d vector2d)
static boolean
intersectRaySphere(Vector3dc vector3dc, Vector3dc vector3dc2, Vector3dc vector3dc3, double double1, Vector2d vector2d)
static double
intersectRayTriangle(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9, double double10, double double11, double double12, double double13, double double14, double double15, double double16)
static double
intersectRayTriangle(Vector3dc vector3dc, Vector3dc vector3dc2, Vector3dc vector3dc3, Vector3dc vector3dc4, Vector3dc vector3dc5, double double1)
static double
intersectRayTriangleFront(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9, double double10, double double11, double double12, double double13, double double14, double double15, double double16)
static double
intersectRayTriangleFront(Vector3dc vector3dc, Vector3dc vector3dc2, Vector3dc vector3dc3, Vector3dc vector3dc4, Vector3dc vector3dc5, double double1)
static boolean
intersectSphereSphere(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, Vector4d vector4d)
static boolean
intersectSphereSphere(Vector3dc vector3dc, double double1, Vector3dc vector3dc2, double double2, Vector4d vector4d)
static int
intersectSweptSphereTriangle(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9, double double10, double double11, double double12, double double13, double double14, double double15, double double16, double double17, double double18, Vector4d vector4d)
static boolean
testAabAab(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9, double double10, double double11, double double12)
static boolean
testAabAab(Vector3dc vector3dc, Vector3dc vector3dc2, Vector3dc vector3dc3, Vector3dc vector3dc4)
static boolean
testAabPlane(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9, double double10)
static boolean
testAabPlane(Vector3dc vector3dc, Vector3dc vector3dc2, double double1, double double2, double double3, double double4)
static boolean
testAabSphere(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9, double double10)
static boolean
testAabSphere(Vector3dc vector3dc, Vector3dc vector3dc2, Vector3dc vector3dc3, double double1)
static boolean
testAarAar(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8)
static boolean
testAarAar(Vector2dc vector2dc, Vector2dc vector2dc2, Vector2dc vector2dc3, Vector2dc vector2dc4)
static boolean
testAarCircle(double double1, double double2, double double3, double double4, double double5, double double6, double double7)
static boolean
testAarCircle(Vector2dc vector2dc, Vector2dc vector2dc2, Vector2dc vector2dc3, double double1)
static boolean
testAarLine(double double1, double double2, double double3, double double4, double double5, double double6, double double7)
static boolean
testAarLine(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8)
static boolean
testAarLine(Vector2dc vector2dc, Vector2dc vector2dc2, double double1, double double2, double double3)
static boolean
testCircleCircle(double double1, double double2, double double3, double double4, double double5, double double6)
static boolean
testCircleCircle(Vector2dc vector2dc, double double1, Vector2dc vector2dc2, double double2)
static boolean
testCircleTriangle(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9)
static boolean
testCircleTriangle(Vector2dc vector2dc, double double1, Vector2dc vector2dc2, Vector2dc vector2dc3, Vector2dc vector2dc4)
static boolean
testLineCircle(double double1, double double2, double double3, double double4, double double5, double double6)
static boolean
testLineSegmentSphere(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9, double double10)
static boolean
testLineSegmentSphere(Vector3dc vector3dc, Vector3dc vector3dc2, Vector3dc vector3dc3, double double1)
static boolean
testLineSegmentTriangle(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9, double double10, double double11, double double12, double double13, double double14, double double15, double double16)
static boolean
testLineSegmentTriangle(Vector3dc vector3dc, Vector3dc vector3dc2, Vector3dc vector3dc3, Vector3dc vector3dc4, Vector3dc vector3dc5, double double1)
static boolean
testPlaneSphere(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8)
static boolean
testPointAar(double double1, double double2, double double3, double double4, double double5, double double6)
static boolean
testPointCircle(double double1, double double2, double double3, double double4, double double5)
static boolean
testPointInTriangle(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9, double double10, double double11, double double12)
static boolean
testPointTriangle(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8)
static boolean
testPointTriangle(Vector2dc vector2dc, Vector2dc vector2dc2, Vector2dc vector2dc3, Vector2dc vector2dc4)
static boolean
testRayAab(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9, double double10, double double11, double double12)
static boolean
testRayAab(Vector3dc vector3dc, Vector3dc vector3dc2, Vector3dc vector3dc3, Vector3dc vector3dc4)
static boolean
testRayAar(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8)
static boolean
testRayAar(Vector2dc vector2dc, Vector2dc vector2dc2, Vector2dc vector2dc3, Vector2dc vector2dc4)
static boolean
testRayCircle(double double1, double double2, double double3, double double4, double double5, double double6, double double7)
static boolean
testRayCircle(Vector2dc vector2dc, Vector2dc vector2dc2, Vector2dc vector2dc3, double double1)
static boolean
testRaySphere(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9, double double10)
static boolean
testRaySphere(Vector3dc vector3dc, Vector3dc vector3dc2, Vector3dc vector3dc3, double double1)
static boolean
testRayTriangle(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9, double double10, double double11, double double12, double double13, double double14, double double15, double double16)
static boolean
testRayTriangle(Vector3dc vector3dc, Vector3dc vector3dc2, Vector3dc vector3dc3, Vector3dc vector3dc4, Vector3dc vector3dc5, double double1)
static boolean
testRayTriangleFront(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9, double double10, double double11, double double12, double double13, double double14, double double15, double double16)
static boolean
testRayTriangleFront(Vector3dc vector3dc, Vector3dc vector3dc2, Vector3dc vector3dc3, Vector3dc vector3dc4, Vector3dc vector3dc5, double double1)
static boolean
testSphereSphere(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8)
static boolean
testSphereSphere(Vector3dc vector3dc, double double1, Vector3dc vector3dc2, double double2)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
POINT_ON_TRIANGLE_VERTEX
public static final int POINT_ON_TRIANGLE_VERTEX- See Also:
- Constant Field Values
-
POINT_ON_TRIANGLE_EDGE
public static final int POINT_ON_TRIANGLE_EDGE- See Also:
- Constant Field Values
-
POINT_ON_TRIANGLE_FACE
public static final int POINT_ON_TRIANGLE_FACE- See Also:
- Constant Field Values
-
AAR_SIDE_MINX
public static final int AAR_SIDE_MINX- See Also:
- Constant Field Values
-
AAR_SIDE_MINY
public static final int AAR_SIDE_MINY- See Also:
- Constant Field Values
-
AAR_SIDE_MAXX
public static final int AAR_SIDE_MAXX- See Also:
- Constant Field Values
-
AAR_SIDE_MAXY
public static final int AAR_SIDE_MAXY- See Also:
- Constant Field Values
-
OUTSIDE
public static final int OUTSIDE- See Also:
- Constant Field Values
-
ONE_INTERSECTION
public static final int ONE_INTERSECTION- See Also:
- Constant Field Values
-
TWO_INTERSECTION
public static final int TWO_INTERSECTION- See Also:
- Constant Field Values
-
INSIDE
public static final int INSIDE- See Also:
- Constant Field Values
-
-
Constructor Details
-
Intersectiond
public Intersectiond()
-
-
Method Details
-
testPlaneSphere
public static boolean testPlaneSphere(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8) -
intersectPlaneSphere
public static boolean intersectPlaneSphere(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, Vector4d vector4d) -
testAabPlane
public static boolean testAabPlane(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9, double double10) -
testAabPlane
-
testAabAab
public static boolean testAabAab(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9, double double10, double double11, double double12) -
testAabAab
-
intersectSphereSphere
public static boolean intersectSphereSphere(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, Vector4d vector4d) -
intersectSphereSphere
-
testSphereSphere
public static boolean testSphereSphere(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8) -
testSphereSphere
-
distancePointPlane
public static double distancePointPlane(double double1, double double2, double double3, double double4, double double5, double double6, double double7) -
distancePointPlane
public static double distancePointPlane(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9, double double10, double double11, double double12) -
intersectRayPlane
public static double intersectRayPlane(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9, double double10, double double11, double double12, double double13) -
intersectRayPlane
-
intersectRayPlane
public static double intersectRayPlane(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9, double double10, double double11) -
testAabSphere
public static boolean testAabSphere(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9, double double10) -
testAabSphere
-
findClosestPointOnTriangle
public static int findClosestPointOnTriangle(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9, double double10, double double11, double double12, Vector3d vector3d) -
findClosestPointOnTriangle
-
intersectSweptSphereTriangle
public static int intersectSweptSphereTriangle(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9, double double10, double double11, double double12, double double13, double double14, double double15, double double16, double double17, double double18, Vector4d vector4d) -
testPointInTriangle
public static boolean testPointInTriangle(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9, double double10, double double11, double double12) -
intersectRaySphere
public static boolean intersectRaySphere(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9, double double10, Vector2d vector2d) -
intersectRaySphere
-
testRaySphere
public static boolean testRaySphere(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9, double double10) -
testRaySphere
-
testLineSegmentSphere
public static boolean testLineSegmentSphere(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9, double double10) -
testLineSegmentSphere
-
intersectRayAab
public static boolean intersectRayAab(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9, double double10, double double11, double double12, Vector2d vector2d) -
intersectRayAab
-
intersectLineSegmentAab
public static int intersectLineSegmentAab(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9, double double10, double double11, double double12, Vector2d vector2d) -
intersectLineSegmentAab
-
testRayAab
public static boolean testRayAab(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9, double double10, double double11, double double12) -
testRayAab
-
testRayTriangleFront
public static boolean testRayTriangleFront(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9, double double10, double double11, double double12, double double13, double double14, double double15, double double16) -
testRayTriangleFront
-
testRayTriangle
public static boolean testRayTriangle(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9, double double10, double double11, double double12, double double13, double double14, double double15, double double16) -
testRayTriangle
-
intersectRayTriangleFront
public static double intersectRayTriangleFront(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9, double double10, double double11, double double12, double double13, double double14, double double15, double double16) -
intersectRayTriangleFront
-
intersectRayTriangle
public static double intersectRayTriangle(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9, double double10, double double11, double double12, double double13, double double14, double double15, double double16) -
intersectRayTriangle
-
testLineSegmentTriangle
public static boolean testLineSegmentTriangle(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9, double double10, double double11, double double12, double double13, double double14, double double15, double double16) -
testLineSegmentTriangle
-
intersectLineSegmentTriangle
public static boolean intersectLineSegmentTriangle(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9, double double10, double double11, double double12, double double13, double double14, double double15, double double16, Vector3d vector3d) -
intersectLineSegmentTriangle
-
intersectLineSegmentPlane
public static boolean intersectLineSegmentPlane(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9, double double10, Vector3d vector3d) -
testLineCircle
public static boolean testLineCircle(double double1, double double2, double double3, double double4, double double5, double double6) -
intersectLineCircle
public static boolean intersectLineCircle(double double1, double double2, double double3, double double4, double double5, double double6, Vector3d vector3d) -
intersectLineCircle
public static boolean intersectLineCircle(double double1, double double2, double double3, double double4, double double5, double double6, double double7, Vector3d vector3d) -
testAarLine
public static boolean testAarLine(double double1, double double2, double double3, double double4, double double5, double double6, double double7) -
testAarLine
-
testAarLine
public static boolean testAarLine(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8) -
testAarAar
public static boolean testAarAar(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8) -
testAarAar
-
intersectCircleCircle
public static boolean intersectCircleCircle(double double1, double double2, double double3, double double4, double double5, double double6, Vector3d vector3d) -
intersectCircleCircle
-
testCircleCircle
public static boolean testCircleCircle(double double1, double double2, double double3, double double4, double double5, double double6) -
testCircleCircle
-
distancePointLine
public static double distancePointLine(double double1, double double2, double double3, double double4, double double5) -
distancePointLine
public static double distancePointLine(double double1, double double2, double double3, double double4, double double5, double double6) -
intersectRayLine
public static double intersectRayLine(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9) -
intersectRayLine
-
intersectRayLineSegment
public static double intersectRayLineSegment(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8) -
intersectRayLineSegment
-
testAarCircle
public static boolean testAarCircle(double double1, double double2, double double3, double double4, double double5, double double6, double double7) -
testAarCircle
-
findClosestPointOnTriangle
public static int findClosestPointOnTriangle(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, Vector2d vector2d) -
findClosestPointOnTriangle
-
intersectRayCircle
public static boolean intersectRayCircle(double double1, double double2, double double3, double double4, double double5, double double6, double double7, Vector2d vector2d) -
intersectRayCircle
-
testRayCircle
public static boolean testRayCircle(double double1, double double2, double double3, double double4, double double5, double double6, double double7) -
testRayCircle
-
intersectRayAar
public static int intersectRayAar(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, Vector2d vector2d) -
intersectRayAar
-
intersectLineSegmentAar
public static int intersectLineSegmentAar(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, Vector2d vector2d) -
intersectLineSegmentAar
-
testRayAar
public static boolean testRayAar(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8) -
testRayAar
-
testPointTriangle
public static boolean testPointTriangle(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8) -
testPointTriangle
-
testPointAar
public static boolean testPointAar(double double1, double double2, double double3, double double4, double double5, double double6) -
testPointCircle
public static boolean testPointCircle(double double1, double double2, double double3, double double4, double double5) -
testCircleTriangle
public static boolean testCircleTriangle(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9) -
testCircleTriangle
-
intersectPolygonRay
public static int intersectPolygonRay(double[] doubleArray, double double1, double double2, double double3, double double4, Vector2d vector2d) -
intersectPolygonRay
-
intersectLineLine
public static boolean intersectLineLine(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, Vector2d vector2d)
-