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

#include <opennurbs_point.h>

Inheritance diagram for ON_2fVectorArray:
ON_SimpleArray< ON_2fVector >

Public Member Functions

 ON_2fVectorArray ()
 see ON_SimpleArray class definition comments for constructor documentation More...
 
 ON_2fVectorArray (const ON_2fVectorArray &)
 
 ON_2fVectorArray (int)
 
bool GetBBox (float boxmin[2], float boxmax[2], bool=false) const
 
ON_2fVectorArrayoperator= (const ON_2fVectorArray &)
 
bool SwapCoordinates (int, int)
 
bool Transform (const ON_Xform &)
 
- Public Member Functions inherited from ON_SimpleArray< ON_2fVector >
 ON_SimpleArray () ON_NOEXCEPT
 construction //////////////////////////////////////////////////////// More...
 
 ON_SimpleArray (const ON_SimpleArray< ON_2fVector > &)
 Copy constructor. More...
 
 ON_SimpleArray (size_t)
 size_t parameter = initial capacity More...
 
virtual ~ON_SimpleArray ()
 
void Append (const ON_2fVector &)
 
void Append (int, const ON_2fVector *)
 Append copy of an array T[count]. More...
 
ON_2fVectorAppendNew ()
 array operations //////////////////////////////////////////////////// More...
 
ON_2fVectorArray ()
 The Array() function return the. More...
 
const ON_2fVectorArray () const
 m_a pointer value. More...
 
ON_2fVectorAt (int)
 At(index) returns nullptr if index < 0 or index >= count. More...
 
const ON_2fVectorAt (int) const
 
ON_2fVectorAt (ON__INT64)
 
const ON_2fVectorAt (ON__INT64) const
 
ON_2fVectorAt (ON__UINT64)
 
const ON_2fVectorAt (ON__UINT64) const
 
ON_2fVectorAt (unsigned int)
 
const ON_2fVectorAt (unsigned int) const
 
int BinarySearch (const ON_2fVector *, int(*)(const ON_2fVector *, const ON_2fVector *)) const
 See Also: ON_CompareIncreasing<T> and ON_CompareDeccreasing<T> More...
 
int BinarySearch (const ON_2fVector *, int(*)(const ON_2fVector *, const ON_2fVector *), int) const
 
int Capacity () const
 capacity of array More...
 
int Count () const
 query /////////////////////////////////////////////////////////////// More...
 
ON__UINT32 DataCRC (ON__UINT32 current_remainder) const
 
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_2fVectorFirst ()
 
const ON_2fVectorFirst () const
 returns nullptr if count = 0 More...
 
bool HeapSort (int(*)(const ON_2fVector *, const ON_2fVector *))
 
void Insert (int, const ON_2fVector &)
 
int InsertInSortedList (const ON_2fVector &, int(*)(const ON_2fVector *, const ON_2fVector *))
 
int InsertInSortedList (const ON_2fVector &, int(*)(const ON_2fVector *, const ON_2fVector *), int)
 
ON_2fVectorKeepArray ()
 
ON_2fVectorLast ()
 
const ON_2fVectorLast () const
 returns nullptr if count = 0 More...
 
void MemSet (unsigned char)
 
int NewCapacity () const
 
 operator const ON_2fVector * () const
 
 operator ON_2fVector * ()
 The cast operators return a pointer. More...
 
ON_SimpleArray< ON_2fVector > & operator= (const ON_SimpleArray< ON_2fVector > &)
 
ON_2fVectoroperator[] (int)
 
const ON_2fVectoroperator[] (int) const
 
ON_2fVectoroperator[] (ON__INT64)
 
const ON_2fVectoroperator[] (ON__INT64) const
 
ON_2fVectoroperator[] (ON__UINT64)
 
const ON_2fVectoroperator[] (ON__UINT64) const
 
ON_2fVectoroperator[] (unsigned int)
 
const ON_2fVectoroperator[] (unsigned int) const
 
bool Permute (const int *)
 
void Prepend (int, const ON_2fVector *)
 Prepend copy of an array T[count]. More...
 
bool QuickSort (int(*)(const ON_2fVector *, const ON_2fVector *))
 See Also: ON_CompareIncreasing<T> and ON_CompareDeccreasing<T> More...
 
bool QuickSortAndRemoveDuplicates (int(*)(const ON_2fVector *, const ON_2fVector *))
 See Also: ON_CompareIncreasing<T> and ON_CompareDeccreasing<T> More...
 
virtual ON_2fVectorRealloc (ON_2fVector *, int)
 low level memory managment ////////////////////////////////////////// More...
 
void Remove ()
 
virtual void Remove (int)
 
ON_2fVectorReserve (size_t)
 memory managment //////////////////////////////////////////////////// More...
 
void Reverse ()
 reverse order More...
 
int Search (const ON_2fVector &) const
 
int Search (const ON_2fVector *, int(*)(const ON_2fVector *, const ON_2fVector *)) const
 See Also: ON_CompareIncreasing<T> and ON_CompareDeccreasing<T> More...
 
void SetArray (ON_2fVector *)
 
void SetArray (ON_2fVector *, int, int)
 
ON_2fVectorSetCapacity (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_2fVector *, const ON_2fVector *)) const
 
bool Sort (ON::sort_algorithm sort_algorithm, int *, int(*)(const ON_2fVector *, const ON_2fVector *, 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_SimpleArray< ON_2fVector >
void Move (int, int, int)
 implimentation ////////////////////////////////////////////////////// More...
 
- Protected Attributes inherited from ON_SimpleArray< ON_2fVector >
ON_2fVectorm_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_2fVectorArray() [1/3]

ON_2fVectorArray::ON_2fVectorArray ( )

see ON_SimpleArray class definition comments for constructor documentation

◆ ON_2fVectorArray() [2/3]

ON_2fVectorArray::ON_2fVectorArray ( int  )

◆ ON_2fVectorArray() [3/3]

ON_2fVectorArray::ON_2fVectorArray ( const ON_2fVectorArray )

Member Function Documentation

◆ GetBBox()

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

◆ operator=()

ON_2fVectorArray& ON_2fVectorArray::operator= ( const ON_2fVectorArray )

◆ SwapCoordinates()

bool ON_2fVectorArray::SwapCoordinates ( int  ,
int   
)

◆ Transform()

bool ON_2fVectorArray::Transform ( const ON_Xform )