Package org.robwork.sdurw_geometry
Class ImplicitBREPCPtr
- java.lang.Object
-
- org.robwork.sdurw_geometry.ImplicitBREPCPtr
-
public class ImplicitBREPCPtr extends java.lang.Object
Ptr 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.ImplicitBREPPtr
clone()
void
delete()
ImplicitBREP
deref()
The pointer stored in the object.boolean
equals(ImplicitBREP p)
SWIGTYPE_p_rw__core__PtrT_rw__geometry__ImplicitBREP__CommonParametricCurveSet_const_t
getCommonCurves(SWIGTYPE_p_std__setT_unsigned_long_t faces)
static long
getCPtr(ImplicitBREPCPtr obj)
ParametricCurve
getCurve(long curveIndex)
SWIGTYPE_p_std__vectorT_rw__core__PtrT_rw__geometry__ParametricCurve_t_t
getCurves(long loopIdx)
ImplicitBREP
getDeref()
Member access operator.ImplicitSurface
getSurface(long surfaceIndex)
GeometryData.GeometryType
getType()
boolean
isNull()
checks if the pointer is nullboolean
isShared()
check if this Ptr has shared ownership or none
ownershipImplicitShellCPtr
shellProxy()
-
-
-
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)
-
-