CAD Exchanger SDK
cadex::Mesh_SMDS Class Reference

An opaque type that holds internal data structures for computational meshes. More...

Public Member Functions

 Mesh_SMDS ()
 Constructor. More...
 
 Mesh_SMDS (const std::shared_ptr< internal::Mesh_SMDSImpl > &theImpl)
 Constructor. More...
 
bool HasNetgenMeshDS () const
 Check if there is a valid Netgen mesh data.
 
const Mesh_NetgenMeshDSNetgenMeshDS () const
 Returns the Netgen mesh data.
 
Mesh_NetgenMeshDSNetgenMeshDS ()
 Returns the Netgen mesh data.
 
const std::shared_ptr< internal::Mesh_SMDSImpl > & Impl () const
 Returns an implementation object.
 
bool IsNull () const
 Returns true if the object is null.
 
 operator bool () const
 Returns true if the object is not null. More...
 

Protected Attributes

std::shared_ptr< internal::Mesh_SMDSImpl > myImpl
 Internal implementation object.
 

Detailed Description

An opaque type that holds internal data structures for computational meshes.

The mesh object is created one for each ModelData_Body.

See also
ModelAlgo_BRepMesher::Compute().

Constructor & Destructor Documentation

◆ Mesh_SMDS() [1/2]

cadex::Mesh_SMDS::Mesh_SMDS ( )

Constructor.

Deprecated:
Kept for binary compatibility only.

◆ Mesh_SMDS() [2/2]

cadex::Mesh_SMDS::Mesh_SMDS ( const std::shared_ptr< internal::Mesh_SMDSImpl > &  theImpl)

Constructor.

Creates from an implementation object. theImpl must be non-null.

Member Function Documentation

◆ operator bool()

cadex::Mesh_SMDS::operator bool ( ) const
inline

Returns true if the object is not null.

See also
IsNull().