Package org.robwork.sdurw_geometry
Class ImplicitFaceCPtr
- java.lang.Object
-
- org.robwork.sdurw_geometry.ImplicitFaceCPtr
-
public class ImplicitFaceCPtr extends java.lang.ObjectPtr stores a pointer and optionally takes ownership of the value.
-
-
Constructor Summary
Constructors Constructor Description ImplicitFaceCPtr()Default constructor yielding a NULL-pointer.ImplicitFaceCPtr(long cPtr, boolean cMemoryOwn)ImplicitFaceCPtr(ImplicitFace 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 ImplicitFace__ref__()Dereferencing operator.longcurveCount()voiddelete()ImplicitFacederef()The pointer stored in the object.booleanequals(ImplicitFace p)static longgetCPtr(ImplicitFaceCPtr obj)ParametricCurvegetCurve(long i)SWIGTYPE_p_std__vectorT_rw__core__PtrT_rw__geometry__ParametricCurve_const_t_tgetCurves()Get the parametric curves.ImplicitFacegetDeref()Member access operator.booleanisNull()checks if the pointer is nullbooleanisShared()check if this Ptr has shared ownership or none
ownershipImplicitSurfacesurface()Get the surface of the face.SWIGTYPE_p_std__vectorT_rw__math__Vector3DT_double_t_tvertices()
-
-
-
Constructor Detail
-
ImplicitFaceCPtr
public ImplicitFaceCPtr(long cPtr, boolean cMemoryOwn)
-
ImplicitFaceCPtr
public ImplicitFaceCPtr()
Default constructor yielding a NULL-pointer.
-
ImplicitFaceCPtr
public ImplicitFaceCPtr(ImplicitFace ptr)
Do not take ownership of ptr.
ptr can be null.
The constructor is implicit on purpose.
-
-
Method Detail
-
getCPtr
public static long getCPtr(ImplicitFaceCPtr obj)
-
delete
public void delete()
-
deref
public ImplicitFace deref()
The pointer stored in the object.
-
__ref__
public ImplicitFace __ref__()
Dereferencing operator.
-
getDeref
public ImplicitFace getDeref()
Member access operator.
-
equals
public boolean equals(ImplicitFace 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
-
surface
public ImplicitSurface surface()
Get the surface of the face.- Returns:
- a reference to the surface data.
-
curveCount
public long curveCount()
-
getCurve
public ParametricCurve getCurve(long i)
-
vertices
public SWIGTYPE_p_std__vectorT_rw__math__Vector3DT_double_t_t vertices()
-
getCurves
public SWIGTYPE_p_std__vectorT_rw__core__PtrT_rw__geometry__ParametricCurve_const_t_t getCurves()
Get the parametric curves.- Returns:
- vector with the curves.
-
-