ON_2fPointArray Class Reference

#include <opennurbs_point.h>

Inheritance diagram for ON_2fPointArray:
ON_SimpleArray< ON_2fPoint >

Public Member Functions

 ON_2fPointArray ()
 see ON_SimpleArray class definition comments for constructor documentation More...
 
 ON_2fPointArray (int)
 
 ON_2fPointArray (const ON_2fPointArray &)
 
bool GetBBox (float boxmin[2], float boxmax[2], bool bGrowBox=false) const
 
ON_2fPointArrayoperator= (const ON_2fPointArray &)
 
bool SwapCoordinates (int, int)
 
bool Transform (const ON_Xform &)
 
- Public Member Functions inherited from ON_SimpleArray< ON_2fPoint >
 ON_SimpleArray () ON_NOEXCEPT
 construction //////////////////////////////////////////////////////// More...
 
 ON_SimpleArray (const ON_SimpleArray< ON_2fPoint > &)
 Copy constructor. More...
 
 ON_SimpleArray (size_t)
 
virtual ~ON_SimpleArray ()
 
void Append (const ON_2fPoint &)
 
void Append (int, const ON_2fPoint *)
 
ON_2fPointAppendNew ()
 array operations //////////////////////////////////////////////////// More...
 
ON_2fPointArray ()
 
const ON_2fPointArray () const
 
ON_2fPointAt (int)
 At(index) returns nullptr if index < 0 or index >= count. More...
 
ON_2fPointAt (unsigned int)
 
ON_2fPointAt (ON__INT64)
 
ON_2fPointAt (ON__UINT64)
 
const ON_2fPointAt (int) const
 
const ON_2fPointAt (unsigned int) const
 
const ON_2fPointAt (ON__INT64) const
 
const ON_2fPointAt (ON__UINT64) const
 
int BinarySearch (const ON_2fPoint *, int(*)(const ON_2fPoint *, const ON_2fPoint *)) const
 
int BinarySearch (const ON_2fPoint *, int(*)(const ON_2fPoint *, const ON_2fPoint *), int) const
 
int Capacity () const
 
int Count () const
 query /////////////////////////////////////////////////////////////// More...
 
ON__UINT32 DataCRC (ON__UINT32 current_remainder) const
 
void Destroy ()
 
void EmergencyDestroy (void)
 emergency bailout /////////////////////////////////////////////////// More...
 
void Empty ()
 
ON_2fPointFirst ()
 
const ON_2fPointFirst () const
 
bool HeapSort (int(*)(const ON_2fPoint *, const ON_2fPoint *))
 
void Insert (int, const ON_2fPoint &)
 
ON_2fPointKeepArray ()
 Expert user tool to take charge of the memory used by the dyanmic array. More...
 
ON_2fPointLast ()
 
const ON_2fPointLast () const
 
void MemSet (unsigned char)
 
int NewCapacity () const
 
 operator const ON_2fPoint * () const
 
 operator ON_2fPoint * ()
 
ON_SimpleArray< ON_2fPoint > & operator= (const ON_SimpleArray< ON_2fPoint > &)
 
ON_2fPointoperator[] (int)
 
ON_2fPointoperator[] (unsigned int)
 
ON_2fPointoperator[] (ON__INT64)
 
ON_2fPointoperator[] (ON__UINT64)
 
const ON_2fPointoperator[] (int) const
 
const ON_2fPointoperator[] (unsigned int) const
 
const ON_2fPointoperator[] (ON__INT64) const
 
const ON_2fPointoperator[] (ON__UINT64) const
 
bool Permute (const int *)
 
bool QuickSort (int(*)(const ON_2fPoint *, const ON_2fPoint *))
 
virtual ON_2fPointRealloc (ON_2fPoint *, int)
 low level memory managment ////////////////////////////////////////// More...
 
void Remove ()
 
virtual void Remove (int)
 
ON_2fPointReserve (size_t)
 memory managment //////////////////////////////////////////////////// More...
 
void Reverse ()
 
int Search (const ON_2fPoint &) const
 
int Search (const ON_2fPoint *, int(*)(const ON_2fPoint *, const ON_2fPoint *)) const
 
void SetArray (ON_2fPoint *)
 Do not use this version of SetArray(). Use the one that takes a pointer, count and capacity. More...
 
void SetArray (ON_2fPoint *, int, int)
 Expert user tool to set the memory used by the dyanmic array. More...
 
ON_2fPointSetCapacity (size_t)
 
void SetCount (int)
 low level memory managment ////////////////////////////////////////// More...
 
void Shrink ()
 
unsigned int SizeOfArray () const
 
unsigned int SizeOfElement () const
 
bool Sort (ON::sort_algorithm sort_algorithm, int *, int(*)(const ON_2fPoint *, const ON_2fPoint *)) const
 Sort() fills in the index[] array so that array[index[i]] <= array[index[i+1]]. The array is not modified. More...
 
bool Sort (ON::sort_algorithm sort_algorithm, int *, int(*)(const ON_2fPoint *, const ON_2fPoint *, void *), void *) const
 Sort() fills in the index[] array so that array[index[i]] <= array[index[i+1]]. The array is not modified. More...
 
void Swap (int, int)
 
unsigned int UnsignedCount () const
 
void Zero ()
 

Additional Inherited Members

- Protected Member Functions inherited from ON_SimpleArray< ON_2fPoint >
void Move (int, int, int)
 implimentation ////////////////////////////////////////////////////// More...
 
- Protected Attributes inherited from ON_SimpleArray< ON_2fPoint >
ON_2fPointm_a
 
int m_capacity
 
int m_count
 

Constructor & Destructor Documentation

◆ ON_2fPointArray() [1/3]

ON_2fPointArray::ON_2fPointArray ( )

see ON_SimpleArray class definition comments for constructor documentation

◆ ON_2fPointArray() [2/3]

ON_2fPointArray::ON_2fPointArray ( int  )

◆ ON_2fPointArray() [3/3]

ON_2fPointArray::ON_2fPointArray ( const ON_2fPointArray )

Member Function Documentation

◆ GetBBox()

bool ON_2fPointArray::GetBBox ( float  boxmin[2],
float  boxmax[2],
bool  bGrowBox = false 
) const

◆ operator=()

ON_2fPointArray& ON_2fPointArray::operator= ( const ON_2fPointArray )

◆ SwapCoordinates()

bool ON_2fPointArray::SwapCoordinates ( int  ,
int   
)

◆ Transform()

bool ON_2fPointArray::Transform ( const ON_Xform )