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

#include <opennurbs_brep.h>

Inheritance diagram for ON_BrepLoop:
ON_Geometry ON_Object

Public Types

enum  TYPE {
  unknown = 0 , outer = 1 , inner = 2 , slit = 3 ,
  crvonsrf = 4 , ptonsrf = 5 , type_count = 6
}
 

Public Member Functions

ON_BrepBrep () const
 
ON_COMPONENT_INDEX ComponentIndex () const
 
void DestroyRuntimeCache (bool bDelete=true)
 
int Dimension () const
 
void Dump (ON_TextLog &) const
 
ON_BrepFaceFace () const
 
ON_BOOL32 GetBBox (double *boxmin, double *boxmax, int bGrowBox=false) const
 
int IndexOfTrim (const ON_BrepTrim &) const
 
ON_BOOL32 IsValid (ON_TextLog *text_log=NULL) const
 
 ON_BrepLoop ()
 
 ON_BrepLoop (int)
 
ON_BrepLoopoperator= (const ON_BrepLoop &)
 
ON_BOOL32 Read (ON_BinaryArchive &)
 
unsigned int SizeOf () const
 
int SurfaceIndexOf () const
 
const ON_SurfaceSurfaceOf () const
 
ON_BOOL32 Transform (const ON_Xform &xform)
 
bool TransformTrim (const ON_Xform &xform)
 
ON_BrepTrimTrim (int lti) const
 
int TrimCount () const
 
ON_BOOL32 Write (ON_BinaryArchive &) const
 
- Public Member Functions inherited from ON_Geometry
ON_BoundingBox BoundingBox () const
 
virtual ON_BrepBrepForm (ON_Brep *brep=NULL) const
 
virtual void ClearBoundingBox ()
 
virtual bool EvaluatePoint (const class ON_ObjRef &objref, ON_3dPoint &P) const
 
ON_BOOL32 GetBoundingBox (ON_3dPoint &bbox_min, ON_3dPoint &bbox_max, int bGrowBox=false) const
 
ON_BOOL32 GetBoundingBox (ON_BoundingBox &bbox, int bGrowBox=false) const
 
virtual bool GetTightBoundingBox (ON_BoundingBox &tight_bbox, int bGrowBox=false, const ON_Xform *xform=0) const
 
virtual ON_BOOL32 HasBrepForm () const
 
virtual bool IsDeformable () const
 
virtual bool IsMorphable () const
 
virtual bool MakeDeformable ()
 
virtual bool Morph (const ON_SpaceMorph &morph)
 
 ON_Geometry ()
 
 ON_Geometry (const ON_Geometry &)
 
ON_Geometryoperator= (const ON_Geometry &)
 
ON_BOOL32 Rotate (double rotation_angle, const ON_3dVector &rotation_axis, const ON_3dPoint &rotation_center)
 
ON_BOOL32 Rotate (double sin_angle, double cos_angle, const ON_3dVector &rotation_axis, const ON_3dPoint &rotation_center)
 
ON_BOOL32 Scale (double scale_factor)
 
virtual ON_BOOL32 SwapCoordinates (int i, int j)
 
ON_BOOL32 Translate (const ON_3dVector &translation_vector)
 
virtual ~ON_Geometry ()
 
- 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
 
ON_BOOL32 DetachUserData (ON_UserData *pUserData)
 
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)
 
void TransformUserData (const ON_Xform &xform)
 
virtual ~ON_Object ()
 

Public Attributes

int m_fi
 
int m_loop_index
 
ON_U m_loop_user
 
ON_BoundingBox m_pbox
 
ON_SimpleArray< int > m_ti
 
TYPE m_type
 
- Public Attributes inherited from ON_Object
ON_MEMORY_POOLm_mempool
 

Private Member Functions

 ON_BrepLoop (const ON_BrepLoop &)
 
 ON_OBJECT_DECLARE (ON_BrepLoop)
 

Private Attributes

ON_Brepm_brep
 

Friends

class ON_Brep
 

Member Enumeration Documentation

◆ TYPE

Enumerator
unknown 
outer 
inner 
slit 
crvonsrf 
ptonsrf 
type_count 

Constructor & Destructor Documentation

◆ ON_BrepLoop() [1/3]

ON_BrepLoop::ON_BrepLoop ( )

◆ ON_BrepLoop() [2/3]

ON_BrepLoop::ON_BrepLoop ( int loop_index)

◆ ON_BrepLoop() [3/3]

ON_BrepLoop::ON_BrepLoop ( const ON_BrepLoop & )
private

Member Function Documentation

◆ Brep()

ON_Brep * ON_BrepLoop::Brep ( ) const

◆ ComponentIndex()

ON_COMPONENT_INDEX ON_BrepLoop::ComponentIndex ( ) const
virtual

Reimplemented from ON_Geometry.

◆ DestroyRuntimeCache()

void ON_BrepLoop::DestroyRuntimeCache ( bool bDelete = true)
virtual

Reimplemented from ON_Object.

◆ Dimension()

int ON_BrepLoop::Dimension ( ) const
virtual

Implements ON_Geometry.

◆ Dump()

void ON_BrepLoop::Dump ( ON_TextLog & dump) const
virtual

Reimplemented from ON_Object.

◆ Face()

ON_BrepFace * ON_BrepLoop::Face ( ) const

◆ GetBBox()

ON_BOOL32 ON_BrepLoop::GetBBox ( double * boxmin,
double * boxmax,
int bGrowBox = false ) const
virtual

Implements ON_Geometry.

◆ IndexOfTrim()

int ON_BrepLoop::IndexOfTrim ( const ON_BrepTrim & trim) const

◆ IsValid()

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

Implements ON_Object.

◆ ON_OBJECT_DECLARE()

ON_BrepLoop::ON_OBJECT_DECLARE ( ON_BrepLoop )
private

◆ operator=()

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

◆ Read()

ON_BOOL32 ON_BrepLoop::Read ( ON_BinaryArchive & file)
virtual

Reimplemented from ON_Object.

◆ SizeOf()

unsigned int ON_BrepLoop::SizeOf ( ) const
virtual

Reimplemented from ON_Object.

◆ SurfaceIndexOf()

int ON_BrepLoop::SurfaceIndexOf ( ) const

◆ SurfaceOf()

const ON_Surface * ON_BrepLoop::SurfaceOf ( ) const

◆ Transform()

ON_BOOL32 ON_BrepLoop::Transform ( const ON_Xform & xform)
virtual

Reimplemented from ON_Geometry.

◆ TransformTrim()

bool ON_BrepLoop::TransformTrim ( const ON_Xform & xform)

◆ Trim()

ON_BrepTrim * ON_BrepLoop::Trim ( int lti) const

◆ TrimCount()

int ON_BrepLoop::TrimCount ( ) const

◆ Write()

ON_BOOL32 ON_BrepLoop::Write ( ON_BinaryArchive & file) const
virtual

Reimplemented from ON_Object.

Friends And Related Symbol Documentation

◆ ON_Brep

friend class ON_Brep
friend

Member Data Documentation

◆ m_brep

ON_Brep* ON_BrepLoop::m_brep
private

◆ m_fi

int ON_BrepLoop::m_fi

◆ m_loop_index

int ON_BrepLoop::m_loop_index

◆ m_loop_user

ON_U ON_BrepLoop::m_loop_user

◆ m_pbox

ON_BoundingBox ON_BrepLoop::m_pbox

◆ m_ti

ON_SimpleArray<int> ON_BrepLoop::m_ti

◆ m_type

TYPE ON_BrepLoop::m_type

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