Package org.robwork.sdurw_geometry
Class ImplicitTorusCPtr
- java.lang.Object
-
- org.robwork.sdurw_geometry.ImplicitTorusCPtr
-
public class ImplicitTorusCPtr extends java.lang.Object
Ptr stores a pointer and optionally takes ownership of the value.
-
-
Constructor Summary
Constructors Constructor Description ImplicitTorusCPtr()
Default constructor yielding a NULL-pointer.ImplicitTorusCPtr(long cPtr, boolean cMemoryOwn)
ImplicitTorusCPtr(ImplicitTorus ptr)
Do not take ownership of ptr.
ptr can be null.
The constructor is implicit on purpose.
-
Method Summary
-
-
-
Constructor Detail
-
ImplicitTorusCPtr
public ImplicitTorusCPtr(long cPtr, boolean cMemoryOwn)
-
ImplicitTorusCPtr
public ImplicitTorusCPtr()
Default constructor yielding a NULL-pointer.
-
ImplicitTorusCPtr
public ImplicitTorusCPtr(ImplicitTorus ptr)
Do not take ownership of ptr.
ptr can be null.
The constructor is implicit on purpose.
-
-
Method Detail
-
getCPtr
public static long getCPtr(ImplicitTorusCPtr obj)
-
delete
public void delete()
-
deref
public ImplicitTorus deref()
The pointer stored in the object.
-
__ref__
public ImplicitTorus __ref__()
Dereferencing operator.
-
getDeref
public ImplicitTorus getDeref()
Member access operator.
-
equals
public boolean equals(ImplicitTorus 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
-
transform
public ImplicitTorusPtr transform(Transform3D T)
rw::math::Transform3D<double>&) const
-
transform
public ImplicitTorusPtr transform(Vector3D P)
rw::math::Vector3D<double>&) const
-
scale
public ImplicitTorusPtr scale(double factor)
-
clone
public ImplicitTorusPtr clone()
-
getTriMesh
public TriMeshPtr getTriMesh(SWIGTYPE_p_std__vectorT_rw__math__Vector3DT_double_t_t border)
-
getTriMesh
public TriMeshPtr getTriMesh()
-
TorusEqual
public boolean TorusEqual(Surface surface, double threshold)
-
insideTrimmingRegion
public boolean insideTrimmingRegion(Vector3D P)
-
reuseTrimmingRegions
public void reuseTrimmingRegions(ImplicitSurfacePtr surface)
-
getTrimmingConditions
public SWIGTYPE_p_std__vectorT_rw__core__PtrT_rw__geometry__ImplicitSurface_const_t_t getTrimmingConditions()
Get the trimming conditions for the surface.- Returns:
- ImplicitSurface vector specifying the boundary of the surface. If surface is
unbounded, the length of the vector is zero.
-
-