Package org.robwork.sdurw_geometry
Class ConvexHull2DCPtr
- java.lang.Object
-
- org.robwork.sdurw_geometry.ConvexHull2DCPtr
-
public class ConvexHull2DCPtr extends java.lang.ObjectPtr stores a pointer and optionally takes ownership of the value.
-
-
Constructor Summary
Constructors Constructor Description ConvexHull2DCPtr()Default constructor yielding a NULL-pointer.ConvexHull2DCPtr(long cPtr, boolean cMemoryOwn)ConvexHull2DCPtr(ConvexHull2D 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 ConvexHull2D__ref__()Dereferencing operator.voiddelete()ConvexHull2Dderef()The pointer stored in the object.booleanequals(ConvexHull2D p)static longgetCPtr(ConvexHull2DCPtr obj)ConvexHull2DgetDeref()Member access operator.booleanisNull()checks if the pointer is nullbooleanisShared()check if this Ptr has shared ownership or none
ownership
-
-
-
Constructor Detail
-
ConvexHull2DCPtr
public ConvexHull2DCPtr(long cPtr, boolean cMemoryOwn)
-
ConvexHull2DCPtr
public ConvexHull2DCPtr()
Default constructor yielding a NULL-pointer.
-
ConvexHull2DCPtr
public ConvexHull2DCPtr(ConvexHull2D ptr)
Do not take ownership of ptr.
ptr can be null.
The constructor is implicit on purpose.
-
-
Method Detail
-
getCPtr
public static long getCPtr(ConvexHull2DCPtr obj)
-
delete
public void delete()
-
deref
public ConvexHull2D deref()
The pointer stored in the object.
-
__ref__
public ConvexHull2D __ref__()
Dereferencing operator.
-
getDeref
public ConvexHull2D getDeref()
Member access operator.
-
equals
public boolean equals(ConvexHull2D 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
-
-