ON_2dPointArray Class Reference

#include <opennurbs_point.h>

Inheritance diagram for ON_2dPointArray:
ON_SimpleArray< ON_2dPoint >

Public Member Functions

 ON_2dPointArray ()
 see ON_SimpleArray class definition comments for constructor documentation More...
 
 ON_2dPointArray (int)
 
 ON_2dPointArray (const ON_2dPointArray &)
 
bool GetBBox (double boxmin[2], double boxmax[2], bool bGrowBox=false) const
 
ON_2dPointArrayoperator= (const ON_2dPointArray &)
 
bool SwapCoordinates (int, int)
 
bool Transform (const ON_Xform &)
 
- Public Member Functions inherited from ON_SimpleArray< ON_2dPoint >
 ON_SimpleArray () ON_NOEXCEPT
 construction //////////////////////////////////////////////////////// More...
 
 ON_SimpleArray (const ON_SimpleArray< ON_2dPoint > &)
 Copy constructor. More...
 
 ON_SimpleArray (size_t)
 
virtual ~ON_SimpleArray ()
 
void Append (const ON_2dPoint &)
 
void Append (int, const ON_2dPoint *)
 
ON_2dPointAppendNew ()
 array operations //////////////////////////////////////////////////// More...
 
ON_2dPointArray ()
 
const ON_2dPointArray () const
 
ON_2dPointAt (int)
 At(index) returns nullptr if index < 0 or index >= count. More...
 
ON_2dPointAt (unsigned int)
 
ON_2dPointAt (ON__INT64)
 
ON_2dPointAt (ON__UINT64)
 
const ON_2dPointAt (int) const
 
const ON_2dPointAt (unsigned int) const
 
const ON_2dPointAt (ON__INT64) const
 
const ON_2dPointAt (ON__UINT64) const
 
int BinarySearch (const ON_2dPoint *, int(*)(const ON_2dPoint *, const ON_2dPoint *)) const
 
int BinarySearch (const ON_2dPoint *, int(*)(const ON_2dPoint *, const ON_2dPoint *), 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_2dPointFirst ()
 
const ON_2dPointFirst () const
 
bool HeapSort (int(*)(const ON_2dPoint *, const ON_2dPoint *))
 
void Insert (int, const ON_2dPoint &)
 
ON_2dPointKeepArray ()
 Expert user tool to take charge of the memory used by the dyanmic array. More...
 
ON_2dPointLast ()
 
const ON_2dPointLast () const
 
void MemSet (unsigned char)
 
int NewCapacity () const
 
 operator const ON_2dPoint * () const
 
 operator ON_2dPoint * ()
 
ON_SimpleArray< ON_2dPoint > & operator= (const ON_SimpleArray< ON_2dPoint > &)
 
ON_2dPointoperator[] (int)
 
ON_2dPointoperator[] (unsigned int)
 
ON_2dPointoperator[] (ON__INT64)
 
ON_2dPointoperator[] (ON__UINT64)
 
const ON_2dPointoperator[] (int) const
 
const ON_2dPointoperator[] (unsigned int) const
 
const ON_2dPointoperator[] (ON__INT64) const
 
const ON_2dPointoperator[] (ON__UINT64) const
 
bool Permute (const int *)
 
bool QuickSort (int(*)(const ON_2dPoint *, const ON_2dPoint *))
 
virtual ON_2dPointRealloc (ON_2dPoint *, int)
 low level memory managment ////////////////////////////////////////// More...
 
void Remove ()
 
virtual void Remove (int)
 
ON_2dPointReserve (size_t)
 memory managment //////////////////////////////////////////////////// More...
 
void Reverse ()
 
int Search (const ON_2dPoint &) const
 
int Search (const ON_2dPoint *, int(*)(const ON_2dPoint *, const ON_2dPoint *)) const
 
void SetArray (ON_2dPoint *)
 Do not use this version of SetArray(). Use the one that takes a pointer, count and capacity. More...
 
void SetArray (ON_2dPoint *, int, int)
 Expert user tool to set the memory used by the dyanmic array. More...
 
ON_2dPointSetCapacity (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_2dPoint *, const ON_2dPoint *)) 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_2dPoint *, const ON_2dPoint *, 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_2dPoint >
void Move (int, int, int)
 implimentation ////////////////////////////////////////////////////// More...
 
- Protected Attributes inherited from ON_SimpleArray< ON_2dPoint >
ON_2dPointm_a
 
int m_capacity
 
int m_count
 

Constructor & Destructor Documentation

◆ ON_2dPointArray() [1/3]

ON_2dPointArray::ON_2dPointArray ( )

see ON_SimpleArray class definition comments for constructor documentation

◆ ON_2dPointArray() [2/3]

ON_2dPointArray::ON_2dPointArray ( int  )

◆ ON_2dPointArray() [3/3]

ON_2dPointArray::ON_2dPointArray ( const ON_2dPointArray )

Member Function Documentation

◆ GetBBox()

bool ON_2dPointArray::GetBBox ( double  boxmin[2],
double  boxmax[2],
bool  bGrowBox = false 
) const

◆ operator=()

ON_2dPointArray& ON_2dPointArray::operator= ( const ON_2dPointArray )

◆ SwapCoordinates()

bool ON_2dPointArray::SwapCoordinates ( int  ,
int   
)

◆ Transform()

bool ON_2dPointArray::Transform ( const ON_Xform )