Package org.robwork.sdurw_trajectory
Class ParabolicBlendVector2DPtr
- java.lang.Object
-
- org.robwork.sdurw_trajectory.ParabolicBlendVector2DPtr
-
public class ParabolicBlendVector2DPtr extends java.lang.ObjectPtr stores a pointer and optionally takes ownership of the value.
-
-
Constructor Summary
Constructors Constructor Description ParabolicBlendVector2DPtr()Default constructor yielding a NULL-pointer.ParabolicBlendVector2DPtr(long cPtr, boolean cMemoryOwn)ParabolicBlendVector2DPtr(ParabolicBlendVector2D 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__ref__()Dereferencing operator.ParabolicBlendVector2DCPtrcptr()Vector2Dddx(double t)Conditional comment:
End of conditional comment.voiddelete()ParabolicBlendVector2Dderef()The pointer stored in the object.doubleduration()get the duration of the blendVector2Ddx(double t)Conditional comment:
End of conditional comment.booleanequals(ParabolicBlendVector2D p)static longgetCPtr(ParabolicBlendVector2DPtr obj)ParabolicBlendVector2DgetDeref()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()Vector2Dx(double t)Conditional comment:
End of conditional comment.
-
-
-
Constructor Detail
-
ParabolicBlendVector2DPtr
public ParabolicBlendVector2DPtr(long cPtr, boolean cMemoryOwn)
-
ParabolicBlendVector2DPtr
public ParabolicBlendVector2DPtr()
Default constructor yielding a NULL-pointer.
-
ParabolicBlendVector2DPtr
public ParabolicBlendVector2DPtr(ParabolicBlendVector2D ptr)
Do not take ownership of ptr.
ptr can be null.
The constructor is implicit on purpose.
-
-
Method Detail
-
getCPtr
public static long getCPtr(ParabolicBlendVector2DPtr obj)
-
delete
public void delete()
-
deref
public ParabolicBlendVector2D deref()
The pointer stored in the object.
-
__ref__
public ParabolicBlendVector2D __ref__()
Dereferencing operator.
-
getDeref
public ParabolicBlendVector2D getDeref()
Member access operator.
-
equals
public boolean equals(ParabolicBlendVector2D 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 ParabolicBlendVector2DCPtr cptr()
-
x
public Vector2D x(double t)
Conditional comment:
End of conditional comment.
-
dx
public Vector2D dx(double t)
Conditional comment:
End of conditional comment.
-
ddx
public Vector2D 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()
-
-