Package org.robwork.sdurw_trajectory
Class ParabolicBlendQPtr
- java.lang.Object
-
- org.robwork.sdurw_trajectory.ParabolicBlendQPtr
-
public class ParabolicBlendQPtr extends java.lang.ObjectPtr stores a pointer and optionally takes ownership of the value.
-
-
Constructor Summary
Constructors Constructor Description ParabolicBlendQPtr()Default constructor yielding a NULL-pointer.ParabolicBlendQPtr(long cPtr, boolean cMemoryOwn)ParabolicBlendQPtr(ParabolicBlendQ 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 ParabolicBlendQ__ref__()Dereferencing operator.ParabolicBlendQCPtrcptr()Qddx(double t)Conditional comment:
End of conditional comment.voiddelete()ParabolicBlendQderef()The pointer stored in the object.doubleduration()get the duration of the blendQdx(double t)Conditional comment:
End of conditional comment.booleanequals(ParabolicBlendQ p)static longgetCPtr(ParabolicBlendQPtr obj)ParabolicBlendQgetDeref()Member access operator.booleanisNull()checks if the pointer is nullbooleanisShared()check if this Ptr has shared ownership or none
ownershipdoubletau1()Conditional comment:
End of conditional comment.
Note: For ParabolicBlend tau1()==tau2()doubletau2()Conditional comment:
End of conditional comment.
Note: For ParabolicBlend tau1()==tau2()Qx(double t)Conditional comment:
End of conditional comment.
-
-
-
Constructor Detail
-
ParabolicBlendQPtr
public ParabolicBlendQPtr(long cPtr, boolean cMemoryOwn)
-
ParabolicBlendQPtr
public ParabolicBlendQPtr()
Default constructor yielding a NULL-pointer.
-
ParabolicBlendQPtr
public ParabolicBlendQPtr(ParabolicBlendQ ptr)
Do not take ownership of ptr.
ptr can be null.
The constructor is implicit on purpose.
-
-
Method Detail
-
getCPtr
public static long getCPtr(ParabolicBlendQPtr obj)
-
delete
public void delete()
-
deref
public ParabolicBlendQ deref()
The pointer stored in the object.
-
__ref__
public ParabolicBlendQ __ref__()
Dereferencing operator.
-
getDeref
public ParabolicBlendQ getDeref()
Member access operator.
-
equals
public boolean equals(ParabolicBlendQ 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
-
cptr
public ParabolicBlendQCPtr cptr()
-
x
public Q x(double t)
Conditional comment:
End of conditional comment.
-
dx
public Q dx(double t)
Conditional comment:
End of conditional comment.
-
ddx
public Q ddx(double t)
Conditional comment:
End of conditional comment.
-
duration
public double duration()
get the duration of the blend- Returns:
- duration
-
tau1
public double tau1()
Conditional comment:
End of conditional comment.
Note: For ParabolicBlend tau1()==tau2()
-
tau2
public double tau2()
Conditional comment:
End of conditional comment.
Note: For ParabolicBlend tau1()==tau2()
-
-