Package org.robwork.sdurw_trajectory
Class ParabolicBlendVector2D_fCPtr
- java.lang.Object
-
- org.robwork.sdurw_trajectory.ParabolicBlendVector2D_fCPtr
-
public class ParabolicBlendVector2D_fCPtr extends java.lang.ObjectPtr stores a pointer and optionally takes ownership of the value.
-
-
Constructor Summary
Constructors Constructor Description ParabolicBlendVector2D_fCPtr()Default constructor yielding a NULL-pointer.ParabolicBlendVector2D_fCPtr(long cPtr, boolean cMemoryOwn)ParabolicBlendVector2D_fCPtr(ParabolicBlendVector2D_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 ParabolicBlendVector2D_f__ref__()Dereferencing operator.Vector2Dfddx(double t)Conditional comment:
End of conditional comment.voiddelete()ParabolicBlendVector2D_fderef()The pointer stored in the object.doubleduration()get the duration of the blendVector2Dfdx(double t)Conditional comment:
End of conditional comment.booleanequals(ParabolicBlendVector2D_f p)static longgetCPtr(ParabolicBlendVector2D_fCPtr obj)ParabolicBlendVector2D_fgetDeref()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()Vector2Dfx(double t)Conditional comment:
End of conditional comment.
-
-
-
Constructor Detail
-
ParabolicBlendVector2D_fCPtr
public ParabolicBlendVector2D_fCPtr(long cPtr, boolean cMemoryOwn)
-
ParabolicBlendVector2D_fCPtr
public ParabolicBlendVector2D_fCPtr()
Default constructor yielding a NULL-pointer.
-
ParabolicBlendVector2D_fCPtr
public ParabolicBlendVector2D_fCPtr(ParabolicBlendVector2D_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(ParabolicBlendVector2D_fCPtr obj)
-
delete
public void delete()
-
deref
public ParabolicBlendVector2D_f deref()
The pointer stored in the object.
-
__ref__
public ParabolicBlendVector2D_f __ref__()
Dereferencing operator.
-
getDeref
public ParabolicBlendVector2D_f getDeref()
Member access operator.
-
equals
public boolean equals(ParabolicBlendVector2D_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
-
x
public Vector2Df x(double t)
Conditional comment:
End of conditional comment.
-
dx
public Vector2Df dx(double t)
Conditional comment:
End of conditional comment.
-
ddx
public Vector2Df 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()
-
-