Package org.robwork.sdurw_trajectory
Class TrajectoryIteratorTransform3D_fCPtr
- java.lang.Object
-
- org.robwork.sdurw_trajectory.TrajectoryIteratorTransform3D_fCPtr
-
public class TrajectoryIteratorTransform3D_fCPtr extends java.lang.Object
Ptr stores a pointer and optionally takes ownership of the value.
-
-
Constructor Summary
Constructors Constructor Description TrajectoryIteratorTransform3D_fCPtr()
Default constructor yielding a NULL-pointer.TrajectoryIteratorTransform3D_fCPtr(long cPtr, boolean cMemoryOwn)
TrajectoryIteratorTransform3D_fCPtr(TrajectoryIteratorTransform3D_f 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 TrajectoryIteratorTransform3D_f
__ref__()
Dereferencing operator.Transform3Df
ddx()
Extracts a point of the double derivative of the trajectory at the
current position in the trajectory
void
delete()
TrajectoryIteratorTransform3D_f
deref()
The pointer stored in the object.Transform3Df
dx()
Extracts a point of the derivative of the trajectory
at the current position in the trajectory
boolean
equals(TrajectoryIteratorTransform3D_f p)
static long
getCPtr(TrajectoryIteratorTransform3D_fCPtr obj)
TrajectoryIteratorTransform3D_f
getDeref()
Member access operator.double
getTime()
Returns the current position (time) of the iteratorboolean
isBegin()
Test if the beginning of the trajectory is reached.
boolean
isEnd()
Test if the end of the trajectory is reached.
boolean
isNull()
checks if the pointer is nullboolean
isShared()
check if this Ptr has shared ownership or none
ownershipTransform3Df
point()
Extracts a point at the current position in the trajectory.
Transform3Df
x()
Extracts a point at the current position in the trajectory.
-
-
-
Constructor Detail
-
TrajectoryIteratorTransform3D_fCPtr
public TrajectoryIteratorTransform3D_fCPtr(long cPtr, boolean cMemoryOwn)
-
TrajectoryIteratorTransform3D_fCPtr
public TrajectoryIteratorTransform3D_fCPtr()
Default constructor yielding a NULL-pointer.
-
TrajectoryIteratorTransform3D_fCPtr
public TrajectoryIteratorTransform3D_fCPtr(TrajectoryIteratorTransform3D_f ptr)
Do not take ownership of ptr.
ptr can be null.
The constructor is implicit on purpose.
-
-
Method Detail
-
getCPtr
public static long getCPtr(TrajectoryIteratorTransform3D_fCPtr obj)
-
delete
public void delete()
-
deref
public TrajectoryIteratorTransform3D_f deref()
The pointer stored in the object.
-
__ref__
public TrajectoryIteratorTransform3D_f __ref__()
Dereferencing operator.
-
getDeref
public TrajectoryIteratorTransform3D_f getDeref()
Member access operator.
-
equals
public boolean equals(TrajectoryIteratorTransform3D_f 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
-
getTime
public double getTime()
Returns the current position (time) of the iterator- Returns:
- The current time.
-
isEnd
public boolean isEnd()
Test if the end of the trajectory is reached.
- Returns:
- true if the iterator has reached the end of the trajectory false
otherwise.
-
isBegin
public boolean isBegin()
Test if the beginning of the trajectory is reached.
- Returns:
- true if the iterator has reached the beginning of the trajectory
false otherwise.
-
point
public Transform3Df point()
Extracts a point at the current position in the trajectory.
- Returns:
- the point at the current position in the trajectory.
-
x
public Transform3Df x()
Extracts a point at the current position in the trajectory.
- Returns:
- the point at the current position in the trajectory.
-
dx
public Transform3Df dx()
Extracts a point of the derivative of the trajectory
at the current position in the trajectory
- Returns:
- the derived point at the current position in the trajectory.
-
ddx
public Transform3Df ddx()
Extracts a point of the double derivative of the trajectory at the
current position in the trajectory
- Returns:
- the double derived point at the current position in the trajectory.
-
-