17 #if !defined(ON_ARRAY_INC_) 84 ON__UINT32
DataCRC(ON__UINT32 current_remainder)
const;
98 operator const T*()
const;
102 const T*
First()
const;
106 T*
At(
unsigned int );
109 const T*
At(
int )
const;
110 const T*
At(
unsigned int )
const;
111 const T*
At( ON__INT64 )
const;
112 const T*
At( ON__UINT64 )
const;
115 const T*
Last()
const;
126 void Append(
int,
const T* );
129 void Insert(
int,
const T& );
159 int Search(
const T& )
const;
169 int Search(
const T*,
int (*)(
const T*,
const T*) )
const;
189 int BinarySearch(
const T*,
int (*)(
const T*,
const T*) )
const;
190 int BinarySearch(
const T*,
int (*)(
const T*,
const T*),
int )
const;
195 bool HeapSort(
int (*)(
const T*,
const T*) );
200 bool QuickSort(
int (*)(
const T*,
const T*) );
222 ON::sort_algorithm sort_algorithm,
224 int (*)(
const T*,
const T*)
249 ON::sort_algorithm sort_algorithm,
251 int (*)(
const T*,
const T*,
void*),
268 void MemSet(
unsigned char);
304 const T*
Array()
const;
350 void Move(
int ,
int ,
int );
360 #if defined(ON_DLL_TEMPLATE) 364 #pragma warning( push ) 365 #pragma warning( disable : 4231 ) 407 #pragma warning( pop ) 430 bool SwapCoordinates(
int,
int);
452 bool SwapCoordinates(
int,
int);
557 bool GetTightBoundingBox(
559 int bGrowBox =
false,
583 bool SwapCoordinates(
618 double angle_in_radians,
651 bool GetClosestPoint(
653 int* closest_point_index,
654 double maximum_distance = 0.0
680 bool SwapCoordinates(
int,
int);
697 bool SwapCoordinates(
int,
int);
714 bool SwapCoordinates(
int,
int);
737 bool SwapCoordinates(
int,
int);
760 bool SwapCoordinates(
int,
int);
778 bool bGrowBow =
false 782 bool SwapCoordinates(
int,
int);
803 bool SwapCoordinates(
int,
int);
867 operator const T*()
const;
870 const T*
First()
const;
874 T*
At(
unsigned int );
877 const T*
At(
int )
const;
878 const T*
At(
unsigned int )
const;
879 const T*
At( ON__INT64 )
const;
880 const T*
At( ON__UINT64 )
const;
883 const T*
Last()
const;
894 void Append(
int,
const T*);
896 void Insert(
int,
const T& );
922 int Search(
const T*,
int (*)(
const T*,
const T*) )
const;
942 int BinarySearch(
const T*,
int (*)(
const T*,
const T*) )
const;
943 int BinarySearch(
const T*,
int (*)(
const T*,
const T*),
int )
const;
950 bool HeapSort(
int (*)(
const T*,
const T*) );
955 bool QuickSort(
int (*)(
const T*,
const T*) );
978 ON::sort_algorithm sort_algorithm,
980 int (*)(
const T*,
const T*)
1005 ON::sort_algorithm sort_algorithm,
1007 int (*)(
const T*,
const T*,
void*),
1056 const T*
Array()
const;
1103 void Move(
int ,
int ,
int );
1104 void ConstructDefaultElement(T*);
1105 void DestroyElement(T&);
1129 ON__UINT32
DataCRC(ON__UINT32 current_remainder)
const;
1140 bool HeapSort(
int (*)(
const T*,
const T*) );
1145 bool QuickSort(
int (*)(
const T*,
const T*) );
1176 #if defined(ON_DLL_TEMPLATE) 1181 #pragma warning( push ) 1182 #pragma warning( disable : 4231 ) 1190 #pragma warning( pop ) 1275 bool AddUuid(
ON_UUID uuid,
bool bCheckForDupicates=
true);
1286 bool RemoveUuid(
ON_UUID uuid);
1294 bool FindUuid(
ON_UUID uuid)
const;
1349 int m_removed_count;
1404 bool bCheckForDupicates=
true);
1429 bool FindUuid(
ON_UUID uuid,
int* index=NULL)
const;
1439 bool FindUuidIndex(
ON_UUID uuid,
int index)
const;
1465 void ImproveSearchSpeed();
1468 ON_UuidIndex* SearchHelper(
const ON_UUID*)
const;
1469 unsigned int m_sorted_count;
1470 unsigned int m_removed_count;
1527 bool bCheckForDupicates=
true 1604 void ImproveSearchSpeed();
1608 unsigned int m_sorted_count;
1609 unsigned int m_removed_count;
1639 void Create(
int count,
int i0,
int j);
1717 const ON_2dex* Find2dex(
int i)
const;
1748 int ON_CompareIncreasing(
const T* a,
const T* b);
1782 int ON_CompareDecreasing(
const T* a,
const T* b);
1788 #include "opennurbs_array_defs.h"
virtual ~ON_SimpleArray()
virtual ON_SimpleArray< T > & operator=(const ON_SimpleArray< T > &)
int BinarySearch(const T *, int(*)(const T *, const T *)) const
int Search(const T &) const
virtual T * Realloc(T *, int)
void MemSet(unsigned char)
bool QuickSort(int(*)(const T *, const T *))
void Insert(int, const T &)
bool Permute(const int *)
unsigned int UnsignedCount() const
bool Sort(ON::sort_algorithm sort_algorithm, int *, int(*)(const T *, const T *)) const
ON__UINT32 DataCRC(ON__UINT32 current_remainder) const
unsigned int SizeOfElement() const
unsigned int SizeOfArray() const
void EmergencyDestroy(void)
bool HeapSort(int(*)(const T *, const T *))