Type of Shell where all surfaces are of type ImplicitSurface and all curves are of type ParametricCurve.  
 More...
#include <ImplicitShell.hpp>
Inherits Shell.
|  | 
| typedef rw::core::Ptr< ImplicitShell > | Ptr | 
|  | Smart pointer type to ImplicitShell. 
 | 
|  | 
| typedef rw::core::Ptr< const ImplicitShell > | CPtr | 
|  | Smart pointer type for a const ImplicitShell. 
 | 
|  | 
| typedef rw::core::Ptr< Shell > | Ptr | 
|  | Smart pointer type to Shell. 
 | 
|  | 
| typedef rw::core::Ptr< const Shell > | CPtr | 
|  | Smart pointer type to const Shell. 
 | 
|  | 
| enum | GeometryType { PointCloud
, LineMesh
, PlainTriMesh
, IdxTriMesh
,
 SpherePrim
, BoxPrim
, OBBPrim
, AABBPrim
,
 LinePrim
, PointPrim
, PyramidPrim
, ConePrim
,
 TrianglePrim
, CylinderPrim
, TubePrim
, PlanePrim
,
 RayPrim
, Implicit
, Quadratic
, UserType
 }
 | 
|  | geometry data types 
 | 
|  | 
| typedef rw::core::Ptr< GeometryData > | Ptr | 
|  | smart pointer type to this class 
 | 
|  | 
| typedef rw::core::Ptr< const GeometryData > | CPtr | 
|  | const smart pointer type to this class 
 | 
|  | 
|  | 
| double | _resolution | 
|  | Resolution to use for discretization into triangle mesh. 
 | 
|  | 
Type of Shell where all surfaces are of type ImplicitSurface and all curves are of type ParametricCurve. 
◆ getFace() [1/2]
Get a surface patch. 
- Parameters
- 
  
  
- Returns
- a copy of the surface patch. 
 
 
◆ getFace() [2/2]
  
  | 
        
          | virtual void getFace | ( | std::size_t | idx, |  
          |  |  | ImplicitFace & | dst |  
          |  | ) |  | const |  | pure virtual | 
 
Get a surface patch. 
- Parameters
- 
  
    | idx | [in] index of the patch. |  | dst | [out] an existing face to write data to. |  
 
 
 
◆ getType()
the type of this primitive 
Implements Shell.
 
 
◆ isConvex()
  
  | 
        
          | virtual bool isConvex | ( |  | ) |  |  | pure virtual | 
 
test if this geometry data is convex 
- Returns
- true if convex 
Implements Shell.
 
 
◆ setMeshResolution()
  
  | 
        
          | void setMeshResolution | ( | double | resolution | ) |  |  | inline | 
 
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. |  
 
 
 
◆ size()
  
  | 
        
          | virtual std::size_t size | ( |  | ) | const |  | pure virtual | 
 
Get the number of surface patches in this shell. 
- Returns
- the number of surface patches. 
Implements Shell.
 
 
The documentation for this class was generated from the following file: