ON_2dVectorArray Class Reference

#include <opennurbs_point.h>

Inheritance diagram for ON_2dVectorArray:
ON_SimpleArray< ON_2dVector >

Public Member Functions

 ON_2dVectorArray ()
 see ON_SimpleArray class definition comments for constructor documentation More...
 
 ON_2dVectorArray (int)
 
 ON_2dVectorArray (const ON_2dVectorArray &)
 
bool GetBBox (double boxmin[2], double boxmax[2], bool bGrowBox=false) const
 
ON_2dVectorArrayoperator= (const ON_2dVectorArray &)
 
bool SwapCoordinates (int, int)
 
bool Transform (const ON_Xform &)
 
- Public Member Functions inherited from ON_SimpleArray< ON_2dVector >
 ON_SimpleArray () ON_NOEXCEPT
 construction //////////////////////////////////////////////////////// More...
 
 ON_SimpleArray (const ON_SimpleArray< ON_2dVector > &)
 Copy constructor. More...
 
 ON_SimpleArray (size_t)
 
virtual ~ON_SimpleArray ()
 
void Append (const ON_2dVector &)
 
void Append (int, const ON_2dVector *)
 
ON_2dVectorAppendNew ()
 array operations //////////////////////////////////////////////////// More...
 
ON_2dVectorArray ()
 
const ON_2dVectorArray () const
 
ON_2dVectorAt (int)
 At(index) returns nullptr if index < 0 or index >= count. More...
 
ON_2dVectorAt (unsigned int)
 
ON_2dVectorAt (ON__INT64)
 
ON_2dVectorAt (ON__UINT64)
 
const ON_2dVectorAt (int) const
 
const ON_2dVectorAt (unsigned int) const
 
const ON_2dVectorAt (ON__INT64) const
 
const ON_2dVectorAt (ON__UINT64) const
 
int BinarySearch (const ON_2dVector *, int(*)(const ON_2dVector *, const ON_2dVector *)) const
 
int BinarySearch (const ON_2dVector *, int(*)(const ON_2dVector *, const ON_2dVector *), 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_2dVectorFirst ()
 
const ON_2dVectorFirst () const
 
bool HeapSort (int(*)(const ON_2dVector *, const ON_2dVector *))
 
void Insert (int, const ON_2dVector &)
 
ON_2dVectorKeepArray ()
 Expert user tool to take charge of the memory used by the dyanmic array. More...
 
ON_2dVectorLast ()
 
const ON_2dVectorLast () const
 
void MemSet (unsigned char)
 
int NewCapacity () const
 
 operator const ON_2dVector * () const
 
 operator ON_2dVector * ()
 
ON_SimpleArray< ON_2dVector > & operator= (const ON_SimpleArray< ON_2dVector > &)
 
ON_2dVectoroperator[] (int)
 
ON_2dVectoroperator[] (unsigned int)
 
ON_2dVectoroperator[] (ON__INT64)
 
ON_2dVectoroperator[] (ON__UINT64)
 
const ON_2dVectoroperator[] (int) const
 
const ON_2dVectoroperator[] (unsigned int) const
 
const ON_2dVectoroperator[] (ON__INT64) const
 
const ON_2dVectoroperator[] (ON__UINT64) const
 
bool Permute (const int *)
 
bool QuickSort (int(*)(const ON_2dVector *, const ON_2dVector *))
 
virtual ON_2dVectorRealloc (ON_2dVector *, int)
 low level memory managment ////////////////////////////////////////// More...
 
void Remove ()
 
virtual void Remove (int)
 
ON_2dVectorReserve (size_t)
 memory managment //////////////////////////////////////////////////// More...
 
void Reverse ()
 
int Search (const ON_2dVector &) const
 
int Search (const ON_2dVector *, int(*)(const ON_2dVector *, const ON_2dVector *)) const
 
void SetArray (ON_2dVector *)
 Do not use this version of SetArray(). Use the one that takes a pointer, count and capacity. More...
 
void SetArray (ON_2dVector *, int, int)
 Expert user tool to set the memory used by the dyanmic array. More...
 
ON_2dVectorSetCapacity (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_2dVector *, const ON_2dVector *)) 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_2dVector *, const ON_2dVector *, 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_2dVector >
void Move (int, int, int)
 implimentation ////////////////////////////////////////////////////// More...
 
- Protected Attributes inherited from ON_SimpleArray< ON_2dVector >
ON_2dVectorm_a
 
int m_capacity
 
int m_count
 

Constructor & Destructor Documentation

◆ ON_2dVectorArray() [1/3]

ON_2dVectorArray::ON_2dVectorArray ( )

see ON_SimpleArray class definition comments for constructor documentation

◆ ON_2dVectorArray() [2/3]

ON_2dVectorArray::ON_2dVectorArray ( int  )

◆ ON_2dVectorArray() [3/3]

ON_2dVectorArray::ON_2dVectorArray ( const ON_2dVectorArray )

Member Function Documentation

◆ GetBBox()

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

◆ operator=()

ON_2dVectorArray& ON_2dVectorArray::operator= ( const ON_2dVectorArray )

◆ SwapCoordinates()

bool ON_2dVectorArray::SwapCoordinates ( int  ,
int   
)

◆ Transform()

bool ON_2dVectorArray::Transform ( const ON_Xform )