Package org.robwork.sdurw_geometry
Class QuadraticFaceCPtr
- java.lang.Object
-
- org.robwork.sdurw_geometry.QuadraticFaceCPtr
-
public class QuadraticFaceCPtr extends java.lang.ObjectPtr stores a pointer and optionally takes ownership of the value.
-
-
Constructor Summary
Constructors Constructor Description QuadraticFaceCPtr()Default constructor yielding a NULL-pointer.QuadraticFaceCPtr(long cPtr, boolean cMemoryOwn)QuadraticFaceCPtr(QuadraticFace 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 QuadraticFace__ref__()Dereferencing operator.longcurveCount()voiddelete()QuadraticFacederef()The pointer stored in the object.booleanequals(QuadraticFace p)static longgetCPtr(QuadraticFaceCPtr obj)QuadraticCurvegetCurve(long i)SWIGTYPE_p_std__vectorT_rw__core__PtrT_rw__geometry__QuadraticCurve_const_t_tgetCurves()Get the Quadratic curves.QuadraticFacegetDeref()Member access operator.GeometryData.GeometryTypegetType()the type of this primitivebooleanisNull()checks if the pointer is nullbooleanisShared()check if this Ptr has shared ownership or none
ownershipQuadraticSurfacesurface()SWIGTYPE_p_std__vectorT_rw__math__Vector3DT_double_t_tvertices()
-
-
-
Constructor Detail
-
QuadraticFaceCPtr
public QuadraticFaceCPtr(long cPtr, boolean cMemoryOwn)
-
QuadraticFaceCPtr
public QuadraticFaceCPtr()
Default constructor yielding a NULL-pointer.
-
QuadraticFaceCPtr
public QuadraticFaceCPtr(QuadraticFace ptr)
Do not take ownership of ptr.
ptr can be null.
The constructor is implicit on purpose.
-
-
Method Detail
-
getCPtr
public static long getCPtr(QuadraticFaceCPtr obj)
-
delete
public void delete()
-
deref
public QuadraticFace deref()
The pointer stored in the object.
-
__ref__
public QuadraticFace __ref__()
Dereferencing operator.
-
getDeref
public QuadraticFace getDeref()
Member access operator.
-
equals
public boolean equals(QuadraticFace 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 QuadraticSurface surface()
-
curveCount
public long curveCount()
-
getCurve
public QuadraticCurve 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__QuadraticCurve_const_t_t getCurves()
Get the Quadratic curves.- Returns:
- vector with the curves.
-
getType
public GeometryData.GeometryType getType()
the type of this primitive
-
-