Package org.robwork.sdurw_geometry
Class QuadraticBREPCPtr
- java.lang.Object
-
- org.robwork.sdurw_geometry.QuadraticBREPCPtr
-
public class QuadraticBREPCPtr extends java.lang.Object
Ptr stores a pointer and optionally takes ownership of the value.
-
-
Constructor Summary
Constructors Constructor Description QuadraticBREPCPtr()
Default constructor yielding a NULL-pointer.QuadraticBREPCPtr(long cPtr, boolean cMemoryOwn)
QuadraticBREPCPtr(QuadraticBREP ptr)
Do not take ownership of ptr.
ptr can be null.
The constructor is implicit on purpose.
-
Method Summary
-
-
-
Constructor Detail
-
QuadraticBREPCPtr
public QuadraticBREPCPtr(long cPtr, boolean cMemoryOwn)
-
QuadraticBREPCPtr
public QuadraticBREPCPtr()
Default constructor yielding a NULL-pointer.
-
QuadraticBREPCPtr
public QuadraticBREPCPtr(QuadraticBREP ptr)
Do not take ownership of ptr.
ptr can be null.
The constructor is implicit on purpose.
-
-
Method Detail
-
getCPtr
public static long getCPtr(QuadraticBREPCPtr obj)
-
delete
public void delete()
-
deref
public QuadraticBREP deref()
The pointer stored in the object.
-
__ref__
public QuadraticBREP __ref__()
Dereferencing operator.
-
getDeref
public QuadraticBREP getDeref()
Member access operator.
-
equals
public boolean equals(QuadraticBREP 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 QuadraticSurface getSurface(long surfaceIndex)
-
getCurve
public QuadraticCurve getCurve(long curveIndex)
-
clone
public QuadraticBREPPtr clone()
-
shellProxy
public QuadraticShellCPtr shellProxy()
-
shell
public PlainQuadraticShellPtr shell()
Get a QuadraticShell representation by copying geometric information to a concrete
PlainQuadraticShell object.- Returns:
- smart pointer to a PlainQuadraticShell object.
-
getCurves
public SWIGTYPE_p_std__vectorT_rw__core__PtrT_rw__geometry__QuadraticCurve_t_t getCurves(long loopIdx)
-
getCommonCurves
public SWIGTYPE_p_rw__core__PtrT_rw__geometry__QuadraticBREP__CommonQuadraticCurveSet_const_t getCommonCurves(SWIGTYPE_p_std__setT_unsigned_long_t faces)
-
-