Package org.robwork.sdurw_models
Class DHParameterSetCPtr
- java.lang.Object
-
- org.robwork.sdurw_models.DHParameterSetCPtr
-
public class DHParameterSetCPtr extends java.lang.Object
Ptr stores a pointer and optionally takes ownership of the value.
-
-
Constructor Summary
Constructors Constructor Description DHParameterSetCPtr()
Default constructor yielding a NULL-pointer.DHParameterSetCPtr(long cPtr, boolean cMemoryOwn)
DHParameterSetCPtr(DHParameterSet 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 DHParameterSet
__ref__()
Dereferencing operator.double
a()
a_{i-1} *double
alpha()
\alpha_{i-1} *double
b()
double
beta()
double
d()
d_{i} *void
delete()
DHParameterSet
deref()
The pointer stored in the object.boolean
equals(DHParameterSet p)
static long
getCPtr(DHParameterSetCPtr obj)
DHParameterSet
getDeref()
Member access operator.java.lang.String
getType()
the DH-convention typeboolean
isNull()
checks if the pointer is nullboolean
isParallel()
boolean
isShared()
check if this Ptr has shared ownership or none
ownershipdouble
theta()
$brief \theta_{i} *
-
-
-
Constructor Detail
-
DHParameterSetCPtr
public DHParameterSetCPtr(long cPtr, boolean cMemoryOwn)
-
DHParameterSetCPtr
public DHParameterSetCPtr()
Default constructor yielding a NULL-pointer.
-
DHParameterSetCPtr
public DHParameterSetCPtr(DHParameterSet ptr)
Do not take ownership of ptr.
ptr can be null.
The constructor is implicit on purpose.
-
-
Method Detail
-
getCPtr
public static long getCPtr(DHParameterSetCPtr obj)
-
delete
public void delete()
-
deref
public DHParameterSet deref()
The pointer stored in the object.
-
__ref__
public DHParameterSet __ref__()
Dereferencing operator.
-
getDeref
public DHParameterSet getDeref()
Member access operator.
-
equals
public boolean equals(DHParameterSet 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
-
alpha
public double alpha()
\alpha_{i-1} *
-
a
public double a()
a_{i-1} *
-
d
public double d()
d_{i} *
-
theta
public double theta()
$brief \theta_{i} *
-
b
public double b()
-
beta
public double beta()
-
isParallel
public boolean isParallel()
-
getType
public java.lang.String getType()
the DH-convention type
-
-