Package org.robwork.sdurw_geometry
Class ImplicitShell
- java.lang.Object
-
- org.robwork.sdurw_geometry.GeometryData
-
- org.robwork.sdurw_geometry.ImplicitShell
-
public class ImplicitShell extends GeometryData
Type of Shell where all surfaces are of type ImplicitSurface and
all curves are of type ParametricCurve.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.robwork.sdurw_geometry.GeometryData
GeometryData.GeometryType
-
-
Constructor Summary
Constructors Constructor Description ImplicitShell(long cPtr, boolean cMemoryOwn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
static long
getCPtr(ImplicitShell obj)
ImplicitFaceCPtr
getFace(long idx)
void
getFace(long idx, ImplicitFace dst)
Get a surface patch.GeometryData.GeometryType
getType()
the type of this primitiveboolean
isConvex()
test if this geometry data is convexvoid
setMeshResolution(double resolution)
Set the resolution used for discretization in the getTriMesh and faceTriMesh
functions.
The meaning of this parameter depends on the type of surface.
long
size()
-
Methods inherited from class org.robwork.sdurw_geometry.GeometryData
getCPtr, getTriMesh, getTriMesh, toString
-
-
-
-
Method Detail
-
getCPtr
public static long getCPtr(ImplicitShell obj)
-
delete
public void delete()
- Overrides:
delete
in classGeometryData
-
getType
public GeometryData.GeometryType getType()
Description copied from class:GeometryData
the type of this primitive- Overrides:
getType
in classGeometryData
-
isConvex
public boolean isConvex()
Description copied from class:GeometryData
test if this geometry data is convex- Overrides:
isConvex
in classGeometryData
- Returns:
- true if convex
-
size
public long size()
-
getFace
public ImplicitFaceCPtr getFace(long idx)
-
getFace
public void getFace(long idx, ImplicitFace dst)
Get a surface patch.- Parameters:
idx
- [in] index of the patch.dst
- [out] an existing face to write data to.
-
setMeshResolution
public void setMeshResolution(double resolution)
Set the resolution used for discretization in the getTriMesh and faceTriMesh
functions.
The meaning of this parameter depends on the type of surface.
- Parameters:
resolution
- [in] the resolution parameter.
-
-