QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
ON_2dexMap Class Reference

#include <opennurbs_array.h>

Inheritance diagram for ON_2dexMap:
ON_SimpleArray< ON_2dex >

Public Member Functions

bool AddIndex (int i, int j)
 
const ON_2dexArray () const
 
int Count () const
 
void Create (int count, int i0, int j)
 
const ON_2dexFind2dex (int i) const
 
int FindIndex (int i, int not_found_rc) const
 
 ON_2dexMap ()
 
 ON_2dexMap (int capacity)
 
ON_2dex operator[] (int i) const
 
bool RemoveIndex (int i)
 
void Reserve (int capacity)
 
bool SetIndex (int i, int j)
 
void SetOrAddIndex (int i, int j)
 
 ~ON_2dexMap ()
 

Private Attributes

bool m_bSorted
 
- Private Attributes inherited from ON_SimpleArray< ON_2dex >
ON_2dexm_a
 
int m_capacity
 
int m_count
 

Additional Inherited Members

- Private Member Functions inherited from ON_SimpleArray< ON_2dex >
void Append (const ON_2dex &)
 
void Append (int, const ON_2dex *)
 
ON_2dexAppendNew ()
 
ON_2dexArray ()
 
const ON_2dexArray () const
 
ON_2dexAt (int)
 
const ON_2dexAt (int) const
 
int BinarySearch (const ON_2dex *, int(*)(const ON_2dex *, const ON_2dex *)) const
 
int Capacity () const
 
int Count () const
 
ON__UINT32 DataCRC (ON__UINT32 current_remainder) const
 
void Destroy ()
 
void EmergencyDestroy (void)
 
void Empty ()
 
ON_2dexFirst ()
 
const ON_2dexFirst () const
 
bool HeapSort (int(*)(const ON_2dex *, const ON_2dex *))
 
void Insert (int, const ON_2dex &)
 
ON_2dexKeepArray ()
 
ON_2dexLast ()
 
const ON_2dexLast () const
 
void MemSet (unsigned char)
 
int NewCapacity () const
 
 ON_SimpleArray ()
 
 ON_SimpleArray (const ON_SimpleArray< ON_2dex > &)
 
 ON_SimpleArray (int)
 
 operator const ON_2dex * () const
 
 operator ON_2dex * ()
 
virtual ON_SimpleArray< ON_2dex > & operator= (const ON_SimpleArray< ON_2dex > &)
 
ON_2dexoperator[] (int)
 
const ON_2dexoperator[] (int) const
 
bool Permute (const int *)
 
bool QuickSort (int(*)(const ON_2dex *, const ON_2dex *))
 
virtual ON_2dexRealloc (ON_2dex *, int)
 
void Remove ()
 
virtual void Remove (int)
 
void Reserve (int)
 
void Reverse ()
 
int Search (const ON_2dex &) const
 
int Search (const ON_2dex *, int(*)(const ON_2dex *, const ON_2dex *)) const
 
void SetArray (ON_2dex *)
 
void SetCapacity (int)
 
void SetCount (int)
 
void Shrink ()
 
unsigned int SizeOfArray () const
 
bool Sort (ON::sort_algorithm, int *, int(*)(const ON_2dex *, const ON_2dex *)) const
 
bool Sort (ON::sort_algorithm, int *, int(*)(const ON_2dex *, const ON_2dex *, void *), void *) const
 
void Swap (int, int)
 
void Zero ()
 
virtual ~ON_SimpleArray ()
 
void Move (int, int, int)
 

Constructor & Destructor Documentation

◆ ON_2dexMap() [1/2]

ON_2dexMap::ON_2dexMap ( )

◆ ON_2dexMap() [2/2]

ON_2dexMap::ON_2dexMap ( int capacity)

◆ ~ON_2dexMap()

ON_2dexMap::~ON_2dexMap ( )

Member Function Documentation

◆ AddIndex()

bool ON_2dexMap::AddIndex ( int i,
int j )

◆ Array()

const ON_2dex * ON_2dexMap::Array ( ) const

◆ Count()

int ON_2dexMap::Count ( ) const

◆ Create()

void ON_2dexMap::Create ( int count,
int i0,
int j )

◆ Find2dex()

const ON_2dex * ON_2dexMap::Find2dex ( int i) const

◆ FindIndex()

int ON_2dexMap::FindIndex ( int i,
int not_found_rc ) const

◆ operator[]()

ON_2dex ON_2dexMap::operator[] ( int i) const

◆ RemoveIndex()

bool ON_2dexMap::RemoveIndex ( int i)

◆ Reserve()

void ON_2dexMap::Reserve ( int capacity)

◆ SetIndex()

bool ON_2dexMap::SetIndex ( int i,
int j )

◆ SetOrAddIndex()

void ON_2dexMap::SetOrAddIndex ( int i,
int j )

Member Data Documentation

◆ m_bSorted

bool ON_2dexMap::m_bSorted
private

The documentation for this class was generated from the following files: