Package org.robwork.sdurw_trajectory
Class ParabolicBlendVector3DPtr
- java.lang.Object
-
- org.robwork.sdurw_trajectory.ParabolicBlendVector3DPtr
-
public class ParabolicBlendVector3DPtr extends java.lang.Object
Ptr stores a pointer and optionally takes ownership of the value.
-
-
Constructor Summary
Constructors Constructor Description ParabolicBlendVector3DPtr()
Default constructor yielding a NULL-pointer.ParabolicBlendVector3DPtr(long cPtr, boolean cMemoryOwn)
ParabolicBlendVector3DPtr(ParabolicBlendVector3D 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 ParabolicBlendVector3D
__ref__()
Dereferencing operator.ParabolicBlendVector3DCPtr
cptr()
Vector3D
ddx(double t)
Conditional comment:
End of conditional comment.void
delete()
ParabolicBlendVector3D
deref()
The pointer stored in the object.double
duration()
get the duration of the blendVector3D
dx(double t)
Conditional comment:
End of conditional comment.boolean
equals(ParabolicBlendVector3D p)
static long
getCPtr(ParabolicBlendVector3DPtr obj)
ParabolicBlendVector3D
getDeref()
Member access operator.boolean
isNull()
checks if the pointer is nullboolean
isShared()
check if this Ptr has shared ownership or none
ownershipdouble
tau1()
Conditional comment:
End of conditional comment.
Note: For ParabolicBlend tau1()==tau2()double
tau2()
Conditional comment:
End of conditional comment.
Note: For ParabolicBlend tau1()==tau2()Vector3D
x(double t)
Conditional comment:
End of conditional comment.
-
-
-
Constructor Detail
-
ParabolicBlendVector3DPtr
public ParabolicBlendVector3DPtr(long cPtr, boolean cMemoryOwn)
-
ParabolicBlendVector3DPtr
public ParabolicBlendVector3DPtr()
Default constructor yielding a NULL-pointer.
-
ParabolicBlendVector3DPtr
public ParabolicBlendVector3DPtr(ParabolicBlendVector3D ptr)
Do not take ownership of ptr.
ptr can be null.
The constructor is implicit on purpose.
-
-
Method Detail
-
getCPtr
public static long getCPtr(ParabolicBlendVector3DPtr obj)
-
delete
public void delete()
-
deref
public ParabolicBlendVector3D deref()
The pointer stored in the object.
-
__ref__
public ParabolicBlendVector3D __ref__()
Dereferencing operator.
-
getDeref
public ParabolicBlendVector3D getDeref()
Member access operator.
-
equals
public boolean equals(ParabolicBlendVector3D 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 ParabolicBlendVector3DCPtr cptr()
-
x
public Vector3D x(double t)
Conditional comment:
End of conditional comment.
-
dx
public Vector3D dx(double t)
Conditional comment:
End of conditional comment.
-
ddx
public Vector3D 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()
-
-