Package org.joml
Class Intersectionf
java.lang.Object
org.joml.Intersectionf
public class Intersectionf
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 Intersectionf()
-
Method Summary
Modifier and Type Method Description static float
distancePointLine(float float1, float float2, float float3, float float4, float float5)
static float
distancePointLine(float float1, float float2, float float3, float float4, float float5, float float6)
static float
distancePointPlane(float float1, float float2, float float3, float float4, float float5, float float6, float float7)
static float
distancePointPlane(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11, float float12)
static int
findClosestPointOnTriangle(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11, float float12, Vector3f vector3f)
static int
findClosestPointOnTriangle(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, Vector2f vector2f)
static int
findClosestPointOnTriangle(Vector2fc vector2fc, Vector2fc vector2fc2, Vector2fc vector2fc3, Vector2fc vector2fc4, Vector2f vector2f)
static int
findClosestPointOnTriangle(Vector3fc vector3fc, Vector3fc vector3fc2, Vector3fc vector3fc3, Vector3fc vector3fc4, Vector3f vector3f)
static boolean
intersectCircleCircle(float float1, float float2, float float3, float float4, float float5, float float6, Vector3f vector3f)
static boolean
intersectCircleCircle(Vector2fc vector2fc, float float1, Vector2fc vector2fc2, float float2, Vector3f vector3f)
static boolean
intersectLineCircle(float float1, float float2, float float3, float float4, float float5, float float6, float float7, Vector3f vector3f)
static boolean
intersectLineCircle(float float1, float float2, float float3, float float4, float float5, float float6, Vector3f vector3f)
static boolean
intersectLineLine(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, Vector2f vector2f)
static int
intersectLineSegmentAab(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11, float float12, Vector2f vector2f)
static int
intersectLineSegmentAab(Vector3fc vector3fc, Vector3fc vector3fc2, Vector3fc vector3fc3, Vector3fc vector3fc4, Vector2f vector2f)
static int
intersectLineSegmentAar(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, Vector2f vector2f)
static int
intersectLineSegmentAar(Vector2fc vector2fc, Vector2fc vector2fc2, Vector2fc vector2fc3, Vector2fc vector2fc4, Vector2f vector2f)
static boolean
intersectLineSegmentPlane(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, Vector3f vector3f)
static boolean
intersectLineSegmentTriangle(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11, float float12, float float13, float float14, float float15, float float16, Vector3f vector3f)
static boolean
intersectLineSegmentTriangle(Vector3fc vector3fc, Vector3fc vector3fc2, Vector3fc vector3fc3, Vector3fc vector3fc4, Vector3fc vector3fc5, float float1, Vector3f vector3f)
static boolean
intersectPlaneSphere(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, Vector4f vector4f)
static int
intersectPolygonRay(float[] floatArray, float float1, float float2, float float3, float float4, Vector2f vector2f)
static int
intersectPolygonRay(Vector2fc[] vector2fcArray, float float1, float float2, float float3, float float4, Vector2f vector2f)
static boolean
intersectRayAab(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11, float float12, Vector2f vector2f)
static boolean
intersectRayAab(Vector3fc vector3fc, Vector3fc vector3fc2, Vector3fc vector3fc3, Vector3fc vector3fc4, Vector2f vector2f)
static int
intersectRayAar(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, Vector2f vector2f)
static int
intersectRayAar(Vector2fc vector2fc, Vector2fc vector2fc2, Vector2fc vector2fc3, Vector2fc vector2fc4, Vector2f vector2f)
static boolean
intersectRayCircle(float float1, float float2, float float3, float float4, float float5, float float6, float float7, Vector2f vector2f)
static boolean
intersectRayCircle(Vector2fc vector2fc, Vector2fc vector2fc2, Vector2fc vector2fc3, float float1, Vector2f vector2f)
static float
intersectRayLine(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9)
static float
intersectRayLine(Vector2fc vector2fc, Vector2fc vector2fc2, Vector2fc vector2fc3, Vector2fc vector2fc4, float float1)
static float
intersectRayLineSegment(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8)
static float
intersectRayLineSegment(Vector2fc vector2fc, Vector2fc vector2fc2, Vector2fc vector2fc3, Vector2fc vector2fc4)
static float
intersectRayPlane(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11)
static float
intersectRayPlane(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11, float float12, float float13)
static float
intersectRayPlane(Vector3fc vector3fc, Vector3fc vector3fc2, Vector3fc vector3fc3, Vector3fc vector3fc4, float float1)
static boolean
intersectRaySphere(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, Vector2f vector2f)
static boolean
intersectRaySphere(Vector3fc vector3fc, Vector3fc vector3fc2, Vector3fc vector3fc3, float float1, Vector2f vector2f)
static float
intersectRayTriangle(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11, float float12, float float13, float float14, float float15, float float16)
static float
intersectRayTriangle(Vector3fc vector3fc, Vector3fc vector3fc2, Vector3fc vector3fc3, Vector3fc vector3fc4, Vector3fc vector3fc5, float float1)
static float
intersectRayTriangleFront(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11, float float12, float float13, float float14, float float15, float float16)
static float
intersectRayTriangleFront(Vector3fc vector3fc, Vector3fc vector3fc2, Vector3fc vector3fc3, Vector3fc vector3fc4, Vector3fc vector3fc5, float float1)
static boolean
intersectSphereSphere(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, Vector4f vector4f)
static boolean
intersectSphereSphere(Vector3fc vector3fc, float float1, Vector3fc vector3fc2, float float2, Vector4f vector4f)
static int
intersectSweptSphereTriangle(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11, float float12, float float13, float float14, float float15, float float16, float float17, float float18, Vector4f vector4f)
static boolean
testAabAab(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11, float float12)
static boolean
testAabAab(Vector3fc vector3fc, Vector3fc vector3fc2, Vector3fc vector3fc3, Vector3fc vector3fc4)
static boolean
testAabPlane(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10)
static boolean
testAabPlane(Vector3fc vector3fc, Vector3fc vector3fc2, float float1, float float2, float float3, float float4)
static boolean
testAabSphere(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10)
static boolean
testAabSphere(Vector3fc vector3fc, Vector3fc vector3fc2, Vector3fc vector3fc3, float float1)
static boolean
testAarAar(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8)
static boolean
testAarAar(Vector2fc vector2fc, Vector2fc vector2fc2, Vector2fc vector2fc3, Vector2fc vector2fc4)
static boolean
testAarCircle(float float1, float float2, float float3, float float4, float float5, float float6, float float7)
static boolean
testAarCircle(Vector2fc vector2fc, Vector2fc vector2fc2, Vector2fc vector2fc3, float float1)
static boolean
testAarLine(float float1, float float2, float float3, float float4, float float5, float float6, float float7)
static boolean
testAarLine(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8)
static boolean
testAarLine(Vector2fc vector2fc, Vector2fc vector2fc2, float float1, float float2, float float3)
static boolean
testCircleCircle(float float1, float float2, float float3, float float4, float float5, float float6)
static boolean
testCircleCircle(Vector2fc vector2fc, float float1, Vector2fc vector2fc2, float float2)
static boolean
testCircleTriangle(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9)
static boolean
testCircleTriangle(Vector2fc vector2fc, float float1, Vector2fc vector2fc2, Vector2fc vector2fc3, Vector2fc vector2fc4)
static boolean
testLineCircle(float float1, float float2, float float3, float float4, float float5, float float6)
static boolean
testLineSegmentSphere(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10)
static boolean
testLineSegmentSphere(Vector3fc vector3fc, Vector3fc vector3fc2, Vector3fc vector3fc3, float float1)
static boolean
testLineSegmentTriangle(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11, float float12, float float13, float float14, float float15, float float16)
static boolean
testLineSegmentTriangle(Vector3fc vector3fc, Vector3fc vector3fc2, Vector3fc vector3fc3, Vector3fc vector3fc4, Vector3fc vector3fc5, float float1)
static boolean
testPlaneSphere(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8)
static boolean
testPointAar(float float1, float float2, float float3, float float4, float float5, float float6)
static boolean
testPointCircle(float float1, float float2, float float3, float float4, float float5)
static boolean
testPointInTriangle(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11, float float12)
static boolean
testPointTriangle(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8)
static boolean
testPointTriangle(Vector2fc vector2fc, Vector2fc vector2fc2, Vector2fc vector2fc3, Vector2fc vector2fc4)
static boolean
testRayAab(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11, float float12)
static boolean
testRayAab(Vector3fc vector3fc, Vector3fc vector3fc2, Vector3fc vector3fc3, Vector3fc vector3fc4)
static boolean
testRayAar(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8)
static boolean
testRayAar(Vector2fc vector2fc, Vector2fc vector2fc2, Vector2fc vector2fc3, Vector2fc vector2fc4)
static boolean
testRayCircle(float float1, float float2, float float3, float float4, float float5, float float6, float float7)
static boolean
testRayCircle(Vector2fc vector2fc, Vector2fc vector2fc2, Vector2fc vector2fc3, float float1)
static boolean
testRaySphere(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10)
static boolean
testRaySphere(Vector3fc vector3fc, Vector3fc vector3fc2, Vector3fc vector3fc3, float float1)
static boolean
testRayTriangle(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11, float float12, float float13, float float14, float float15, float float16)
static boolean
testRayTriangle(Vector3fc vector3fc, Vector3fc vector3fc2, Vector3fc vector3fc3, Vector3fc vector3fc4, Vector3fc vector3fc5, float float1)
static boolean
testRayTriangleFront(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11, float float12, float float13, float float14, float float15, float float16)
static boolean
testRayTriangleFront(Vector3fc vector3fc, Vector3fc vector3fc2, Vector3fc vector3fc3, Vector3fc vector3fc4, Vector3fc vector3fc5, float float1)
static boolean
testSphereSphere(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8)
static boolean
testSphereSphere(Vector3fc vector3fc, float float1, Vector3fc vector3fc2, float float2)
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
-
Intersectionf
public Intersectionf()
-
-
Method Details
-
testPlaneSphere
public static boolean testPlaneSphere(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8) -
intersectPlaneSphere
public static boolean intersectPlaneSphere(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, Vector4f vector4f) -
testAabPlane
public static boolean testAabPlane(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10) -
testAabPlane
-
testAabAab
public static boolean testAabAab(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11, float float12) -
testAabAab
-
intersectSphereSphere
public static boolean intersectSphereSphere(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, Vector4f vector4f) -
intersectSphereSphere
-
testSphereSphere
public static boolean testSphereSphere(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8) -
testSphereSphere
-
distancePointPlane
public static float distancePointPlane(float float1, float float2, float float3, float float4, float float5, float float6, float float7) -
distancePointPlane
public static float distancePointPlane(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11, float float12) -
intersectRayPlane
public static float intersectRayPlane(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11, float float12, float float13) -
intersectRayPlane
-
intersectRayPlane
public static float intersectRayPlane(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11) -
testAabSphere
public static boolean testAabSphere(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10) -
testAabSphere
-
findClosestPointOnTriangle
public static int findClosestPointOnTriangle(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11, float float12, Vector3f vector3f) -
findClosestPointOnTriangle
-
intersectSweptSphereTriangle
public static int intersectSweptSphereTriangle(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11, float float12, float float13, float float14, float float15, float float16, float float17, float float18, Vector4f vector4f) -
testPointInTriangle
public static boolean testPointInTriangle(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11, float float12) -
intersectRaySphere
public static boolean intersectRaySphere(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, Vector2f vector2f) -
intersectRaySphere
-
testRaySphere
public static boolean testRaySphere(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10) -
testRaySphere
-
testLineSegmentSphere
public static boolean testLineSegmentSphere(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10) -
testLineSegmentSphere
-
intersectRayAab
public static boolean intersectRayAab(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11, float float12, Vector2f vector2f) -
intersectRayAab
-
intersectLineSegmentAab
public static int intersectLineSegmentAab(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11, float float12, Vector2f vector2f) -
intersectLineSegmentAab
-
testRayAab
public static boolean testRayAab(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11, float float12) -
testRayAab
-
testRayTriangleFront
public static boolean testRayTriangleFront(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11, float float12, float float13, float float14, float float15, float float16) -
testRayTriangleFront
-
testRayTriangle
public static boolean testRayTriangle(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11, float float12, float float13, float float14, float float15, float float16) -
testRayTriangle
-
intersectRayTriangleFront
public static float intersectRayTriangleFront(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11, float float12, float float13, float float14, float float15, float float16) -
intersectRayTriangleFront
-
intersectRayTriangle
public static float intersectRayTriangle(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11, float float12, float float13, float float14, float float15, float float16) -
intersectRayTriangle
-
testLineSegmentTriangle
public static boolean testLineSegmentTriangle(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11, float float12, float float13, float float14, float float15, float float16) -
testLineSegmentTriangle
-
intersectLineSegmentTriangle
public static boolean intersectLineSegmentTriangle(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11, float float12, float float13, float float14, float float15, float float16, Vector3f vector3f) -
intersectLineSegmentTriangle
-
intersectLineSegmentPlane
public static boolean intersectLineSegmentPlane(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, Vector3f vector3f) -
testLineCircle
public static boolean testLineCircle(float float1, float float2, float float3, float float4, float float5, float float6) -
intersectLineCircle
public static boolean intersectLineCircle(float float1, float float2, float float3, float float4, float float5, float float6, Vector3f vector3f) -
intersectLineCircle
public static boolean intersectLineCircle(float float1, float float2, float float3, float float4, float float5, float float6, float float7, Vector3f vector3f) -
testAarLine
public static boolean testAarLine(float float1, float float2, float float3, float float4, float float5, float float6, float float7) -
testAarLine
-
testAarLine
public static boolean testAarLine(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8) -
testAarAar
public static boolean testAarAar(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8) -
testAarAar
-
intersectCircleCircle
public static boolean intersectCircleCircle(float float1, float float2, float float3, float float4, float float5, float float6, Vector3f vector3f) -
intersectCircleCircle
-
testCircleCircle
public static boolean testCircleCircle(float float1, float float2, float float3, float float4, float float5, float float6) -
testCircleCircle
-
distancePointLine
public static float distancePointLine(float float1, float float2, float float3, float float4, float float5) -
distancePointLine
public static float distancePointLine(float float1, float float2, float float3, float float4, float float5, float float6) -
intersectRayLine
public static float intersectRayLine(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9) -
intersectRayLine
-
intersectRayLineSegment
public static float intersectRayLineSegment(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8) -
intersectRayLineSegment
-
testAarCircle
public static boolean testAarCircle(float float1, float float2, float float3, float float4, float float5, float float6, float float7) -
testAarCircle
-
findClosestPointOnTriangle
public static int findClosestPointOnTriangle(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, Vector2f vector2f) -
findClosestPointOnTriangle
-
intersectRayCircle
public static boolean intersectRayCircle(float float1, float float2, float float3, float float4, float float5, float float6, float float7, Vector2f vector2f) -
intersectRayCircle
-
testRayCircle
public static boolean testRayCircle(float float1, float float2, float float3, float float4, float float5, float float6, float float7) -
testRayCircle
-
intersectRayAar
public static int intersectRayAar(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, Vector2f vector2f) -
intersectRayAar
-
intersectLineSegmentAar
public static int intersectLineSegmentAar(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, Vector2f vector2f) -
intersectLineSegmentAar
-
testRayAar
public static boolean testRayAar(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8) -
testRayAar
-
testPointTriangle
public static boolean testPointTriangle(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8) -
testPointTriangle
-
testPointAar
public static boolean testPointAar(float float1, float float2, float float3, float float4, float float5, float float6) -
testPointCircle
public static boolean testPointCircle(float float1, float float2, float float3, float float4, float float5) -
testCircleTriangle
public static boolean testCircleTriangle(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9) -
testCircleTriangle
-
intersectPolygonRay
public static int intersectPolygonRay(float[] floatArray, float float1, float float2, float float3, float float4, Vector2f vector2f) -
intersectPolygonRay
-
intersectLineLine
public static boolean intersectLineLine(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, Vector2f vector2f)
-