Package org.robwork.sdurw_trajectory
Class InterpolatorTrajectoryTransform3DVectorCPtr
- java.lang.Object
-
- org.robwork.sdurw_trajectory.InterpolatorTrajectoryTransform3DVectorCPtr
-
public class InterpolatorTrajectoryTransform3DVectorCPtr extends java.lang.Object
Ptr stores a pointer and optionally takes ownership of the value.
-
-
Constructor Summary
Constructors Constructor Description InterpolatorTrajectoryTransform3DVectorCPtr()
Default constructor yielding a NULL-pointer.InterpolatorTrajectoryTransform3DVectorCPtr(long cPtr, boolean cMemoryOwn)
InterpolatorTrajectoryTransform3DVectorCPtr(InterpolatorTrajectoryTransform3DVector ptr)
Do not take ownership of ptr.
ptr can be null.
The constructor is implicit on purpose.
-
Method Summary
-
-
-
Constructor Detail
-
InterpolatorTrajectoryTransform3DVectorCPtr
public InterpolatorTrajectoryTransform3DVectorCPtr(long cPtr, boolean cMemoryOwn)
-
InterpolatorTrajectoryTransform3DVectorCPtr
public InterpolatorTrajectoryTransform3DVectorCPtr()
Default constructor yielding a NULL-pointer.
-
InterpolatorTrajectoryTransform3DVectorCPtr
public InterpolatorTrajectoryTransform3DVectorCPtr(InterpolatorTrajectoryTransform3DVector ptr)
Do not take ownership of ptr.
ptr can be null.
The constructor is implicit on purpose.
-
-
Method Detail
-
getCPtr
public static long getCPtr(InterpolatorTrajectoryTransform3DVectorCPtr obj)
-
delete
public void delete()
-
deref
public InterpolatorTrajectoryTransform3DVector deref()
The pointer stored in the object.
-
__ref__
public InterpolatorTrajectoryTransform3DVector __ref__()
Dereferencing operator.
-
getDeref
public InterpolatorTrajectoryTransform3DVector getDeref()
Member access operator.
-
equals
public boolean equals(InterpolatorTrajectoryTransform3DVector 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 Transform3DVector x(double t)
-
dx
public Transform3DVector dx(double t)
-
ddx
public Transform3DVector ddx(double t)
-
duration
public double duration()
-
startTime
public double startTime()
-
getIterator
public SWIGTYPE_p_rw__trajectory__TrajectoryIteratorT_rw__math__Transform3DVectorT_double_t_t__Ptr getIterator(double dt)
-
getIterator
public SWIGTYPE_p_rw__trajectory__TrajectoryIteratorT_rw__math__Transform3DVectorT_double_t_t__Ptr getIterator()
-
getSegmentsCount
public long getSegmentsCount()
Returns the number of segments
A segment contains a description interpolator and the blend used to blend from the
previous interpolator
-
getSegment
public SegmentTransform3DVector getSegment(long index)
-
endTime
public double endTime()
Returns the endTime of the trajectory.
The end time equals startTime() + duration().
- Returns:
- The end time
-
-