Package jolt.geometry
Class GJKClosestPoint
java.lang.Object
jolt.BaseJoltNative
jolt.SegmentedJoltNative
jolt.geometry.GJKClosestPoint
- All Implemented Interfaces:
JoltNative
GJKClosestPoint relies on preview features of the Java platform:
GJKClosestPointrefers to one or more preview APIs:MemoryAddress,MemorySegment,MemorySession,SegmentAllocator.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
-
Field Summary
Fields inherited from class jolt.SegmentedJoltNative
handle -
Method Summary
Modifier and TypeMethodDescriptionstatic GJKClosestPointat(MemorySegmentPREVIEW segment) static GJKClosestPointat(MemorySessionPREVIEW alloc, MemoryAddressPREVIEW addr) floatgetClosestPoints(ConvexShape.Support a, PointConvexSupport b, float tolerance, float maxDistSq, FVec3 ioSeparating, FVec3 outPointA, FVec3 outPointB) floatgetClosestPoints(ConvexShape.Support a, ConvexShape.Support b, float tolerance, float maxDistSq, FVec3 ioSeparating, FVec3 outPointA, FVec3 outPointB) booleanintersects(ConvexShape.Support a, PointConvexSupport b, float tolerance, FVec3 ioSeparating) booleanintersects(ConvexShape.Support a, ConvexShape.Support b, float tolerance, FVec3 ioSeparating) static GJKClosestPointof(SegmentAllocatorPREVIEW alloc) Methods inherited from class jolt.SegmentedJoltNative
addressMethods inherited from class jolt.BaseJoltNative
equals, hashCode
-
Method Details
-
at
-
at
-
of
-
intersects
public boolean intersects(ConvexShape.Support a, ConvexShape.Support b, float tolerance, FVec3 ioSeparating) -
intersects
public boolean intersects(ConvexShape.Support a, PointConvexSupport b, float tolerance, FVec3 ioSeparating) -
getClosestPoints
public float getClosestPoints(ConvexShape.Support a, ConvexShape.Support b, float tolerance, float maxDistSq, FVec3 ioSeparating, FVec3 outPointA, FVec3 outPointB) -
getClosestPoints
public float getClosestPoints(ConvexShape.Support a, PointConvexSupport b, float tolerance, float maxDistSq, FVec3 ioSeparating, FVec3 outPointA, FVec3 outPointB)
-
GJKClosestPointwhen preview features are enabled.