Package org.robwork.sdurw_geometry
Class QuadraticShell
- java.lang.Object
-
- org.robwork.sdurw_geometry.GeometryData
-
- org.robwork.sdurw_geometry.Shell
-
- org.robwork.sdurw_geometry.QuadraticShell
-
- Direct Known Subclasses:
PlainQuadraticShell
public class QuadraticShell extends Shell
A collection of Quadratic surface patches, that together form a shell.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.robwork.sdurw_geometry.GeometryData
GeometryData.GeometryType
-
-
Constructor Summary
Constructors Constructor Description QuadraticShell(long cPtr, boolean cMemoryOwn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
static long
getCPtr(QuadraticShell obj)
void
getFace(long idx, QuadraticFace 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()
Get the number of surface patches in this shell.-
Methods inherited from class org.robwork.sdurw_geometry.Shell
extremums, getCPtr, getFace, getFace, getTriMesh, getTriMesh, obb
-
Methods inherited from class org.robwork.sdurw_geometry.GeometryData
getCPtr, toString
-
-
-
-
Method Detail
-
getCPtr
public static long getCPtr(QuadraticShell obj)
-
getType
public GeometryData.GeometryType getType()
Description copied from class:GeometryData
the type of this primitive
-
isConvex
public boolean isConvex()
Description copied from class:GeometryData
test if this geometry data is convex
-
size
public long size()
Description copied from class:Shell
Get the number of surface patches in this shell.
-
getFace
public void getFace(long idx, QuadraticFace 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.
-
-