QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
ON_BrepRegion Class Reference

#include <opennurbs_brep.h>

Inheritance diagram for ON_BrepRegion:
ON_Object

Public Member Functions

bool AreaMassProperties (ON_MassProperties &mp, bool bArea=true, bool bFirstMoments=true, bool bSecondMoments=true, bool bProductMoments=true, double rel_tol=1.0e-6, double abs_tol=1.0e-6) const
 
const ON_BoundingBoxBoundingBox () const
 
ON_BrepBrep () const
 
ON_BrepFaceSideFaceSide (int rfsi) const
 
bool IsFinite () const
 
bool IsPointInside (ON_3dPoint P, double tolerance, bool bStrictlyInside) const
 
ON_BOOL32 IsValid (ON_TextLog *text_log=NULL) const
 
 ON_BrepRegion ()
 
ON_BrepRegionoperator= (const ON_BrepRegion &)
 
ON_BOOL32 Read (ON_BinaryArchive &binary_archive)
 
ON_BrepRegionBoundaryBrep (ON_Brep *brep=NULL) const
 
class ON_BrepRegionTopologyRegionTopology () const
 
bool VolumeMassProperties (ON_MassProperties &mp, bool bVolume=true, bool bFirstMoments=true, bool bSecondMoments=true, bool bProductMoments=true, ON_3dPoint base_point=ON_UNSET_POINT, double rel_tol=1.0e-6, double abs_tol=1.0e-6) const
 
ON_BOOL32 Write (ON_BinaryArchive &binary_archive) const
 
 ~ON_BrepRegion ()
 
- Public Member Functions inherited from ON_Object
ON_BOOL32 AttachUserData (ON_UserData *pUserData)
 
bool CopyFrom (const ON_Object *src)
 
void CopyUserData (const ON_Object &source_object)
 
virtual ON__UINT32 DataCRC (ON__UINT32 current_remainder) const
 
virtual void DestroyRuntimeCache (bool bDelete=true)
 
ON_BOOL32 DetachUserData (ON_UserData *pUserData)
 
virtual void Dump (ON_TextLog &) const
 
ON_UserDataFirstUserData () const
 
ON_UserDataGetUserData (const ON_UUID &userdata_uuid) const
 
bool GetUserString (const wchar_t *key, ON_wString &string_value) const
 
int GetUserStringKeys (ON_ClassArray< ON_wString > &user_string_keys) const
 
int GetUserStrings (ON_ClassArray< ON_UserString > &user_strings) const
 
ON_BOOL32 IsKindOf (const ON_ClassId *pClassId) const
 
virtual void MemoryRelocate ()
 
virtual ON_UUID ModelObjectId () const
 
void MoveUserData (ON_Object &source_object)
 
virtual ON::object_type ObjectType () const
 
 ON_Object ()
 
 ON_Object (const ON_Object &)
 
ON_Objectoperator= (const ON_Object &)
 
void PurgeUserData ()
 
bool SetUserString (const wchar_t *key, const wchar_t *string_value)
 
virtual unsigned int SizeOf () const
 
void TransformUserData (const ON_Xform &xform)
 
virtual ~ON_Object ()
 

Public Attributes

ON_BoundingBox m_bbox
 
ON_SimpleArray< int > m_fsi
 
int m_region_index
 
ON_U m_region_user
 
int m_type
 
- Public Attributes inherited from ON_Object
ON_MEMORY_POOLm_mempool
 

Private Member Functions

 ON_BrepRegion (const ON_BrepRegion &)
 
 ON_OBJECT_DECLARE (ON_BrepRegion)
 

Private Attributes

ON_BrepRegionTopologym_rtop
 

Friends

class ON_Brep
 
class ON_BrepRegionTopology
 

Constructor & Destructor Documentation

◆ ON_BrepRegion() [1/2]

ON_BrepRegion::ON_BrepRegion ( )

◆ ~ON_BrepRegion()

ON_BrepRegion::~ON_BrepRegion ( )

◆ ON_BrepRegion() [2/2]

ON_BrepRegion::ON_BrepRegion ( const ON_BrepRegion & )
private

Member Function Documentation

◆ AreaMassProperties()

bool ON_BrepRegion::AreaMassProperties ( ON_MassProperties & mp,
bool bArea = true,
bool bFirstMoments = true,
bool bSecondMoments = true,
bool bProductMoments = true,
double rel_tol = 1.0e-6,
double abs_tol = 1.0e-6 ) const

◆ BoundingBox()

const ON_BoundingBox & ON_BrepRegion::BoundingBox ( ) const

◆ Brep()

ON_Brep * ON_BrepRegion::Brep ( ) const

◆ FaceSide()

ON_BrepFaceSide * ON_BrepRegion::FaceSide ( int rfsi) const

◆ IsFinite()

bool ON_BrepRegion::IsFinite ( ) const

◆ IsPointInside()

bool ON_BrepRegion::IsPointInside ( ON_3dPoint P,
double tolerance,
bool bStrictlyInside ) const

◆ IsValid()

ON_BOOL32 ON_BrepRegion::IsValid ( ON_TextLog * text_log = NULL) const
virtual

Implements ON_Object.

◆ ON_OBJECT_DECLARE()

ON_BrepRegion::ON_OBJECT_DECLARE ( ON_BrepRegion )
private

◆ operator=()

ON_BrepRegion & ON_BrepRegion::operator= ( const ON_BrepRegion & src)

◆ Read()

ON_BOOL32 ON_BrepRegion::Read ( ON_BinaryArchive & binary_archive)
virtual

Reimplemented from ON_Object.

◆ RegionBoundaryBrep()

ON_Brep * ON_BrepRegion::RegionBoundaryBrep ( ON_Brep * brep = NULL) const

◆ RegionTopology()

ON_BrepRegionTopology * ON_BrepRegion::RegionTopology ( ) const

◆ VolumeMassProperties()

bool ON_BrepRegion::VolumeMassProperties ( ON_MassProperties & mp,
bool bVolume = true,
bool bFirstMoments = true,
bool bSecondMoments = true,
bool bProductMoments = true,
ON_3dPoint base_point = ON_UNSET_POINT,
double rel_tol = 1.0e-6,
double abs_tol = 1.0e-6 ) const

◆ Write()

ON_BOOL32 ON_BrepRegion::Write ( ON_BinaryArchive & binary_archive) const
virtual

Reimplemented from ON_Object.

Friends And Related Symbol Documentation

◆ ON_Brep

friend class ON_Brep
friend

◆ ON_BrepRegionTopology

friend class ON_BrepRegionTopology
friend

Member Data Documentation

◆ m_bbox

ON_BoundingBox ON_BrepRegion::m_bbox

◆ m_fsi

ON_SimpleArray<int> ON_BrepRegion::m_fsi

◆ m_region_index

int ON_BrepRegion::m_region_index

◆ m_region_user

ON_U ON_BrepRegion::m_region_user

◆ m_rtop

ON_BrepRegionTopology* ON_BrepRegion::m_rtop
private

◆ m_type

int ON_BrepRegion::m_type

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