CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
OdBrMeshControl Class Reference

#include <BrMeshControl.h>

Inheritance diagram for OdBrMeshControl:
OdBrMesh2dControl

Public Member Functions

virtual ~OdBrMeshControl ()
 
bool isEqualTo (const OdBrMeshControl *other) const
 
OdBrErrorStatus setMaxSubdivisions (OdUInt32 maxSubs=0)
 
OdBrErrorStatus getMaxSubdivisions (OdUInt32 &maxSubs) const
 
OdBrErrorStatus setMaxNodeSpacing (double maxNodeSpace=0)
 
OdBrErrorStatus getMaxNodeSpacing (double &maxNodeSpace) const
 
OdBrErrorStatus setAngTol (double angTol=0)
 
OdBrErrorStatus getAngTol (double &angTol) const
 
OdBrErrorStatus setDistTol (double distTol=0)
 
OdBrErrorStatus getDistTol (double &distTol) const
 

Protected Member Functions

 OdBrMeshControl ()
 

Protected Attributes

voidm_pImp
 

Friends

class OdBrEntityInternals
 

Detailed Description

This class defines the interface base class for mesh controls.

Remarks
This class is implemented only for Spatial modeler.
See also
TD_Br

<group OdBr_Classes>

Definition at line 39 of file BrMeshControl.h.

Constructor & Destructor Documentation

◆ ~OdBrMeshControl()

virtual OdBrMeshControl::~OdBrMeshControl ( )
virtual

Virtual destructor.

◆ OdBrMeshControl()

OdBrMeshControl::OdBrMeshControl ( )
protected

Default constructor.

Member Function Documentation

◆ getAngTol()

OdBrErrorStatus OdBrMeshControl::getAngTol ( double &  angTol) const

Returns the maximum angle tolerance between normals of any two nodes in the mesh element.

Parameters
angTol[out] Maximum angle tolerance in radians.
Returns
Returns odbrOK if successful, or an appropriate error code if not.

◆ getDistTol()

OdBrErrorStatus OdBrMeshControl::getDistTol ( double &  distTol) const

Returns the maximum distance tolerance between the original geometry and the mesh element.

Parameters
distTol[out] Maximum distance tolerance.
Returns
Returns odbrOK if successful, or an appropriate error code if not.

◆ getMaxNodeSpacing()

OdBrErrorStatus OdBrMeshControl::getMaxNodeSpacing ( double &  maxNodeSpace) const

Returns the maximum spacing between nodes in world coordinates.

Parameters
maxNodeSpace[out] Maximum node spacing.
Returns
Returns odbrOK if successful, or an appropriate error code if not.

◆ getMaxSubdivisions()

OdBrErrorStatus OdBrMeshControl::getMaxSubdivisions ( OdUInt32 maxSubs) const

Gets the maximum number of subdivisions.

Parameters
maxSubs[out] Maximum number of subdivisions.
Returns
Returns odbrOK if successful, or an appropriate error code if not.

◆ isEqualTo()

bool OdBrMeshControl::isEqualTo ( const OdBrMeshControl other) const

Checks if content of the two mesh control objects is equal.

Parameters
other[in] Mesh control object.
Returns
Returns true if two mesh control objects are equal, or returns false in the other case.

◆ setAngTol()

OdBrErrorStatus OdBrMeshControl::setAngTol ( double  angTol = 0)

Sets the maximum angle tolerance between normals of any two nodes in the mesh element.

Parameters
angTol[in] Maximum angle tolerance in radians.
Returns
Returns odbrOK if successful, or an appropriate error code if not.

◆ setDistTol()

OdBrErrorStatus OdBrMeshControl::setDistTol ( double  distTol = 0)

Sets the maximum distance tolerance in world coordinates between the original geometry and the mesh element.

Parameters
distTol[in] Maximum distance tolerance.
Returns
Returns odbrOK if successful, or an appropriate error code if not.

◆ setMaxNodeSpacing()

OdBrErrorStatus OdBrMeshControl::setMaxNodeSpacing ( double  maxNodeSpace = 0)

Sets the maximum spacing between nodes in world coordinates.

Parameters
maxNodeSpace[in] Maximum node spacing.
Returns
Returns odbrOK if successful, or an appropriate error code if not.

◆ setMaxSubdivisions()

OdBrErrorStatus OdBrMeshControl::setMaxSubdivisions ( OdUInt32  maxSubs = 0)

Sets the maximum number of subdivisions.

Parameters
maxSubs[in] Maximum number of subdivisions.
Returns
Returns odbrOK if successful, or an appropriate error code if not.

Friends And Related Function Documentation

◆ OdBrEntityInternals

friend class OdBrEntityInternals
friend

Definition at line 41 of file BrMeshControl.h.

Member Data Documentation

◆ m_pImp

void* OdBrMeshControl::m_pImp
protected

Definition at line 151 of file BrMeshControl.h.


The documentation for this class was generated from the following file: