Package org.robwork.sdurw_geometry
Class QHull3DCPtr
- java.lang.Object
-
- org.robwork.sdurw_geometry.QHull3DCPtr
-
public class QHull3DCPtr extends java.lang.Object
Ptr stores a pointer and optionally takes ownership of the value.
-
-
Constructor Summary
Constructors Constructor Description QHull3DCPtr()
Default constructor yielding a NULL-pointer.QHull3DCPtr(long cPtr, boolean cMemoryOwn)
QHull3DCPtr(QHull3D 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 QHull3D
__ref__()
Dereferencing operator.void
delete()
QHull3D
deref()
The pointer stored in the object.boolean
equals(QHull3D p)
static long
getCPtr(QHull3DCPtr obj)
QHull3D
getDeref()
Member access operator.SWIGTYPE_p_std__vectorT_rw__math__Vector3DT_double_t_t
getPlaneNormals()
Returns the normals of the planes defining the convex hullvector_d
getPlaneOffsets()
Returns the offsets of the planes defining the convex hullSWIGTYPE_p_std__vectorT_rw__math__Vector3DT_double_t_t
getVertices()
Returns the vertices defining the convex hullboolean
isNull()
checks if the pointer is nullboolean
isShared()
check if this Ptr has shared ownership or none
ownership
-
-
-
Constructor Detail
-
QHull3DCPtr
public QHull3DCPtr(long cPtr, boolean cMemoryOwn)
-
QHull3DCPtr
public QHull3DCPtr()
Default constructor yielding a NULL-pointer.
-
QHull3DCPtr
public QHull3DCPtr(QHull3D ptr)
Do not take ownership of ptr.
ptr can be null.
The constructor is implicit on purpose.
-
-
Method Detail
-
getCPtr
public static long getCPtr(QHull3DCPtr obj)
-
delete
public void delete()
-
deref
public QHull3D deref()
The pointer stored in the object.
-
__ref__
public QHull3D __ref__()
Dereferencing operator.
-
getDeref
public QHull3D getDeref()
Member access operator.
-
equals
public boolean equals(QHull3D 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
-
getVertices
public SWIGTYPE_p_std__vectorT_rw__math__Vector3DT_double_t_t getVertices()
Returns the vertices defining the convex hull
-
getPlaneNormals
public SWIGTYPE_p_std__vectorT_rw__math__Vector3DT_double_t_t getPlaneNormals()
Returns the normals of the planes defining the convex hull
-
getPlaneOffsets
public vector_d getPlaneOffsets()
Returns the offsets of the planes defining the convex hull
-
-