Package org.robwork.sdurw_trajectory
Class RampInterpolator_dCPtr
- java.lang.Object
-
- org.robwork.sdurw_trajectory.RampInterpolator_dCPtr
-
public class RampInterpolator_dCPtr extends java.lang.Object
Ptr stores a pointer and optionally takes ownership of the value.
-
-
Constructor Summary
Constructors Constructor Description RampInterpolator_dCPtr()
Default constructor yielding a NULL-pointer.RampInterpolator_dCPtr(long cPtr, boolean cMemoryOwn)
RampInterpolator_dCPtr(RampInterpolator_d 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 RampInterpolator_d
__ref__()
Dereferencing operator.double
ddx(double t)
void
delete()
RampInterpolator_d
deref()
The pointer stored in the object.double
duration()
double
dx(double t)
boolean
equals(RampInterpolator_d p)
static long
getCPtr(RampInterpolator_dCPtr obj)
RampInterpolator_d
getDeref()
Member access operator.double
getEnd()
Returns the end rotation of the interpolatordouble
getStart()
Returns the start rotation of the interpolatorboolean
isNull()
checks if the pointer is nullboolean
isShared()
check if this Ptr has shared ownership or none
ownershipdouble
x(double t)
-
-
-
Constructor Detail
-
RampInterpolator_dCPtr
public RampInterpolator_dCPtr(long cPtr, boolean cMemoryOwn)
-
RampInterpolator_dCPtr
public RampInterpolator_dCPtr()
Default constructor yielding a NULL-pointer.
-
RampInterpolator_dCPtr
public RampInterpolator_dCPtr(RampInterpolator_d ptr)
Do not take ownership of ptr.
ptr can be null.
The constructor is implicit on purpose.
-
-
Method Detail
-
getCPtr
public static long getCPtr(RampInterpolator_dCPtr obj)
-
delete
public void delete()
-
deref
public RampInterpolator_d deref()
The pointer stored in the object.
-
__ref__
public RampInterpolator_d __ref__()
Dereferencing operator.
-
getDeref
public RampInterpolator_d getDeref()
Member access operator.
-
equals
public boolean equals(RampInterpolator_d 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 double x(double t)
-
dx
public double dx(double t)
-
ddx
public double ddx(double t)
-
getStart
public double getStart()
Returns the start rotation of the interpolator- Returns:
- The start rotation of the interpolator
-
getEnd
public double getEnd()
Returns the end rotation of the interpolator- Returns:
- The end rotation of the interpolator
-
duration
public double duration()
-
-