Package org.robwork.sdurw_geometry
Class ImplicitBREPCPtr
- java.lang.Object
-
- org.robwork.sdurw_geometry.ImplicitBREPCPtr
-
public class ImplicitBREPCPtr extends java.lang.ObjectPtr stores a pointer and optionally takes ownership of the value.
-
-
Constructor Summary
Constructors Constructor Description ImplicitBREPCPtr()Default constructor yielding a NULL-pointer.ImplicitBREPCPtr(long cPtr, boolean cMemoryOwn)ImplicitBREPCPtr(ImplicitBREP 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 ImplicitBREP__ref__()Dereferencing operator.ImplicitBREPPtrclone()voiddelete()ImplicitBREPderef()The pointer stored in the object.booleanequals(ImplicitBREP p)SWIGTYPE_p_rw__core__PtrT_rw__geometry__ImplicitBREP__CommonParametricCurveSet_const_tgetCommonCurves(SWIGTYPE_p_std__setT_unsigned_long_t faces)static longgetCPtr(ImplicitBREPCPtr obj)ParametricCurvegetCurve(long curveIndex)SWIGTYPE_p_std__vectorT_rw__core__PtrT_rw__geometry__ParametricCurve_t_tgetCurves(long loopIdx)ImplicitBREPgetDeref()Member access operator.ImplicitSurfacegetSurface(long surfaceIndex)GeometryData.GeometryTypegetType()booleanisNull()checks if the pointer is nullbooleanisShared()check if this Ptr has shared ownership or none
ownershipImplicitShellCPtrshellProxy()
-
-
-
Constructor Detail
-
ImplicitBREPCPtr
public ImplicitBREPCPtr(long cPtr, boolean cMemoryOwn)
-
ImplicitBREPCPtr
public ImplicitBREPCPtr()
Default constructor yielding a NULL-pointer.
-
ImplicitBREPCPtr
public ImplicitBREPCPtr(ImplicitBREP ptr)
Do not take ownership of ptr.
ptr can be null.
The constructor is implicit on purpose.
-
-
Method Detail
-
getCPtr
public static long getCPtr(ImplicitBREPCPtr obj)
-
delete
public void delete()
-
deref
public ImplicitBREP deref()
The pointer stored in the object.
-
__ref__
public ImplicitBREP __ref__()
Dereferencing operator.
-
getDeref
public ImplicitBREP getDeref()
Member access operator.
-
equals
public boolean equals(ImplicitBREP 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
-
getType
public GeometryData.GeometryType getType()
-
getSurface
public ImplicitSurface getSurface(long surfaceIndex)
-
getCurve
public ParametricCurve getCurve(long curveIndex)
-
clone
public ImplicitBREPPtr clone()
-
shellProxy
public ImplicitShellCPtr shellProxy()
-
getCurves
public SWIGTYPE_p_std__vectorT_rw__core__PtrT_rw__geometry__ParametricCurve_t_t getCurves(long loopIdx)
-
getCommonCurves
public SWIGTYPE_p_rw__core__PtrT_rw__geometry__ImplicitBREP__CommonParametricCurveSet_const_t getCommonCurves(SWIGTYPE_p_std__setT_unsigned_long_t faces)
-
-