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 voiddelete()static longgetCPtr(ImplicitShell obj)ImplicitFaceCPtrgetFace(long idx)voidgetFace(long idx, ImplicitFace dst)Get a surface patch.GeometryData.GeometryTypegetType()the type of this primitivebooleanisConvex()test if this geometry data is convexvoidsetMeshResolution(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.
longsize()-
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:
deletein classGeometryData
-
getType
public GeometryData.GeometryType getType()
Description copied from class:GeometryDatathe type of this primitive- Overrides:
getTypein classGeometryData
-
isConvex
public boolean isConvex()
Description copied from class:GeometryDatatest if this geometry data is convex- Overrides:
isConvexin 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.
-
-