Package org.robwork.sdurw
Class InterpolatorSO3Ptr
- java.lang.Object
-
- org.robwork.sdurw.InterpolatorSO3Ptr
-
public class InterpolatorSO3Ptr extends java.lang.Object
Ptr stores a pointer and optionally takes ownership of the value.
-
-
Constructor Summary
Constructors Constructor Description InterpolatorSO3Ptr()
Default constructor yielding a NULL-pointer.InterpolatorSO3Ptr(long cPtr, boolean cMemoryOwn)
InterpolatorSO3Ptr(InterpolatorSO3 ptr)
Do not take ownership of ptr.
ptr can be null.
The constructor is implicit on purpose.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InterpolatorSO3
__ref__()
Dereferencing operator.Rotation3Dd
ddx(double t)
void
delete()
InterpolatorSO3
deref()
The pointer stored in the object.double
duration()
Rotation3Dd
dx(double t)
boolean
equals(InterpolatorSO3 p)
static long
getCPtr(InterpolatorSO3Ptr obj)
InterpolatorSO3
getDeref()
Member access operator.boolean
isNull()
checks if the pointer is nullboolean
isShared()
check if this Ptr has shared ownership or none
ownershipRotation3Dd
x(double t)
-
-
-
Constructor Detail
-
InterpolatorSO3Ptr
public InterpolatorSO3Ptr(long cPtr, boolean cMemoryOwn)
-
InterpolatorSO3Ptr
public InterpolatorSO3Ptr()
Default constructor yielding a NULL-pointer.
-
InterpolatorSO3Ptr
public InterpolatorSO3Ptr(InterpolatorSO3 ptr)
Do not take ownership of ptr.
ptr can be null.
The constructor is implicit on purpose.
-
-
Method Detail
-
getCPtr
public static long getCPtr(InterpolatorSO3Ptr obj)
-
delete
public void delete()
-
deref
public InterpolatorSO3 deref()
The pointer stored in the object.
-
__ref__
public InterpolatorSO3 __ref__()
Dereferencing operator.
-
getDeref
public InterpolatorSO3 getDeref()
Member access operator.
-
equals
public boolean equals(InterpolatorSO3 p)
-
isShared
public boolean isShared()
check if this Ptr has shared ownership or none
ownership- Returns:
- true if Ptr has shared ownership, false if it has no ownership.
-
isNull
public boolean isNull()
checks if the pointer is null- Returns:
- Returns true if the pointer is null
-
x
public Rotation3Dd x(double t)
-
dx
public Rotation3Dd dx(double t)
-
ddx
public Rotation3Dd ddx(double t)
-
duration
public double duration()
-
-