Package com.github.stephengold.joltjni
Class PathConstraintPathHermite
java.lang.Object
com.github.stephengold.joltjni.JoltPhysicsObject
com.github.stephengold.joltjni.NonCopyable
com.github.stephengold.joltjni.SerializableObject
com.github.stephengold.joltjni.PathConstraintPath
com.github.stephengold.joltjni.PathConstraintPathHermite
- All Implemented Interfaces:
ConstJoltPhysicsObject
,RefTarget
,AutoCloseable
,Comparable<JoltPhysicsObject>
A path that follows a Hermite spline.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.github.stephengold.joltjni.PathConstraintPath
getClosestPoint, getPathMaxFraction, getPointOnPath, getRefCount, isLooping, setEmbedded, setIsLooping, toRef
Methods inherited from class com.github.stephengold.joltjni.JoltPhysicsObject
close, compareTo, equals, getContainingObject, hasAssignedNativeObject, hashCode, ownsNativeObject, setVirtualAddress, setVirtualAddress, startCleaner, targetVa, toString, va
-
Constructor Details
-
PathConstraintPathHermite
public PathConstraintPathHermite()Instantiate an empty path.
-
-
Method Details
-
addPoint
Add a point to the end of the path.- Parameters:
location
- the location of the point (not null, unaffected)tangent
- the tangent direction at the point (not null, unaffected)normal
- the normal direction at the point (not null, unaffected)
-