Rhino C++ API  7.21
Public Member Functions | List of all members
ON_BrepFaceArray Class Reference

#include <opennurbs_brep.h>

Inheritance diagram for ON_BrepFaceArray:
ON_ObjectArray< ON_BrepFace > ON_ClassArray< ON_BrepFace >

Public Member Functions

 ON_BrepFaceArray ()
 
 ~ON_BrepFaceArray ()
 
bool Read (ON_BinaryArchive &)
 
unsigned int SizeOf () const
 
bool Write (ON_BinaryArchive &) const
 
- Public Member Functions inherited from ON_ObjectArray< ON_BrepFace >
 ON_ObjectArray ()
 Class ON_ObjectArray<> More...
 
 ON_ObjectArray (const ON_ObjectArray< ON_BrepFace > &)
 
 ON_ObjectArray (size_t)
 size_t parameter = initial capacity More...
 
 ~ON_ObjectArray ()
 override for struct member deallocation, etc. More...
 
ON__UINT32 DataCRC (ON__UINT32 current_remainder) const
 
bool HeapSort (int(*)(const ON_BrepFace *, const ON_BrepFace *))
 
ON_ObjectArray< ON_BrepFace > & operator= (const ON_ObjectArray< ON_BrepFace > &)
 
bool QuickSort (int(*)(const ON_BrepFace *, const ON_BrepFace *))
 
ON_BrepFaceRealloc (ON_BrepFace *, int)
 
- Public Member Functions inherited from ON_ClassArray< ON_BrepFace >
 ON_ClassArray () ON_NOEXCEPT
 construction //////////////////////////////////////////////////////// More...
 
 ON_ClassArray (const ON_ClassArray< ON_BrepFace > &)
 Copy constructor. More...
 
 ON_ClassArray (size_t)
 size_t parameter = initial capacity More...
 
virtual ~ON_ClassArray ()
 override for struct member deallocation, etc. More...
 
void Append (const ON_BrepFace &)
 
void Append (int, const ON_BrepFace *)
 Append copy of an array T[count]. More...
 
ON_BrepFaceAppendNew ()
 array operations //////////////////////////////////////////////////// More...
 
ON_BrepFaceArray ()
 The Array() function return the. More...
 
const ON_BrepFaceArray () const
 m_a pointer value. More...
 
ON_BrepFaceAt (int)
 At(index) returns nullptr if index < 0 or index >= count. More...
 
const ON_BrepFaceAt (int) const
 
ON_BrepFaceAt (ON__INT64)
 
const ON_BrepFaceAt (ON__INT64) const
 
ON_BrepFaceAt (ON__UINT64)
 
const ON_BrepFaceAt (ON__UINT64) const
 
ON_BrepFaceAt (unsigned int)
 
const ON_BrepFaceAt (unsigned int) const
 
int BinarySearch (const ON_BrepFace *, int(*)(const ON_BrepFace *, const ON_BrepFace *)) const
 See Also: ON_CompareIncreasing<T> and ON_CompareDeccreasing<T> More...
 
int BinarySearch (const ON_BrepFace *, int(*)(const ON_BrepFace *, const ON_BrepFace *), int) const
 
int Capacity () const
 capacity of array More...
 
int Count () const
 query /////////////////////////////////////////////////////////////// More...
 
void Destroy ()
 onfree any memory and set count and capacity to zero More...
 
void EmergencyDestroy (void)
 emergency bailout /////////////////////////////////////////////////// More...
 
void Empty ()
 Sets count to 0, leaves capacity untouched. More...
 
ON_BrepFaceFirst ()
 
const ON_BrepFaceFirst () const
 returns nullptr if count = 0 More...
 
void Insert (int, const ON_BrepFace &)
 Insert called with a reference uses operator =. More...
 
int InsertInSortedList (const ON_BrepFace &, int(*)(const ON_BrepFace *, const ON_BrepFace *))
 
int InsertInSortedList (const ON_BrepFace &, int(*)(const ON_BrepFace *, const ON_BrepFace *), int)
 
ON_BrepFaceKeepArray ()
 
ON_BrepFaceLast ()
 
const ON_BrepFaceLast () const
 returns nullptr if count = 0 More...
 
int NewCapacity () const
 
 operator const ON_BrepFace * () const
 
 operator ON_BrepFace * ()
 The cast operators return a pointer. More...
 
ON_ClassArray< ON_BrepFace > & operator= (const ON_ClassArray< ON_BrepFace > &)
 Assignment operator. More...
 
ON_BrepFaceoperator[] (int)
 
const ON_BrepFaceoperator[] (int) const
 
ON_BrepFaceoperator[] (ON__INT64)
 
const ON_BrepFaceoperator[] (ON__INT64) const
 
ON_BrepFaceoperator[] (ON__UINT64)
 
const ON_BrepFaceoperator[] (ON__UINT64) const
 
ON_BrepFaceoperator[] (unsigned int)
 
const ON_BrepFaceoperator[] (unsigned int) const
 
bool Permute (const int *)
 
void Remove ()
 
void Remove (int)
 
ON_BrepFaceReserve (size_t)
 memory managment ///////////////////////////////////////////////// More...
 
void Reverse ()
 reverse order More...
 
int Search (const ON_BrepFace *, int(*)(const ON_BrepFace *, const ON_BrepFace *)) const
 
void SetArray (ON_BrepFace *)
 
void SetArray (ON_BrepFace *, int, int)
 
ON_BrepFaceSetCapacity (size_t)
 
void SetCount (int)
 low level memory managment ////////////////////////////////////////// More...
 
void Shrink ()
 remove unused capacity More...
 
unsigned int SizeOfArray () const
 amount of memory in the m_a[] array More...
 
unsigned int SizeOfElement () const
 amount of memory in an m_a[] array element More...
 
bool Sort (ON::sort_algorithm sort_algorithm, int *, int(*)(const ON_BrepFace *, const ON_BrepFace *)) const
 
bool Sort (ON::sort_algorithm sort_algorithm, int *, int(*)(const ON_BrepFace *, const ON_BrepFace *, void *), void *) const
 
void Swap (int, int)
 swap elements i and j More...
 
unsigned int UnsignedCount () const
 
void Zero ()
 

Additional Inherited Members

- Protected Member Functions inherited from ON_ClassArray< ON_BrepFace >
void ConstructDefaultElement (ON_BrepFace *)
 
void DestroyElement (ON_BrepFace &)
 
void Move (int, int, int)
 implimentation ////////////////////////////////////////////////////// More...
 
- Protected Attributes inherited from ON_ClassArray< ON_BrepFace >
ON_BrepFacem_a
 pointer to array memory More...
 
int m_capacity
 actual length of m_a[] More...
 
int m_count
 0 <= m_count <= m_capacity More...
 

Constructor & Destructor Documentation

◆ ON_BrepFaceArray()

ON_BrepFaceArray::ON_BrepFaceArray ( )

◆ ~ON_BrepFaceArray()

ON_BrepFaceArray::~ON_BrepFaceArray ( )

Member Function Documentation

◆ Read()

bool ON_BrepFaceArray::Read ( ON_BinaryArchive )

◆ SizeOf()

unsigned int ON_BrepFaceArray::SizeOf ( ) const

◆ Write()

bool ON_BrepFaceArray::Write ( ON_BinaryArchive ) const