Point Cloud Library (PCL) 1.15.1
Loading...
Searching...
No Matches
ON_3dPointArray Class Reference

#include <pcl/surface/3rdparty/opennurbs/opennurbs_array.h>

Inheritance diagram for ON_3dPointArray:

Public Member Functions

 ON_3dPointArray ()
 ON_3dPointArray (int)
 ON_3dPointArray (const ON_SimpleArray< ON_3dPoint > &)
ON_3dPointArrayoperator= (const ON_3dPointArray &)
 ON_3dPointArray (const ON_SimpleArray< ON_3fPoint > &)
ON_3dPointArrayoperator= (const ON_SimpleArray< ON_3fPoint > &)
bool Create (int point_dimension, int bRational, int point_count, int point_stride, const double *points)
bool Create (int point_dimension, int bRational, int point_count, int point_stride, const float *points)
ON_BoundingBox BoundingBox () const
bool GetBoundingBox (ON_BoundingBox &bbox, int bGrowBox=false) const
bool GetBBox (double boxmin[3], double boxmax[3], int bGrowBox=false) const
bool GetTightBoundingBox (ON_BoundingBox &tight_bbox, int bGrowBox=false, const ON_Xform *xform=0) const
bool Transform (const ON_Xform &xform)
bool SwapCoordinates (int i, int j)
bool Rotate (double sin_angle, double cos_angle, const ON_3dVector &axis_of_rotation, const ON_3dPoint &center_of_rotation)
bool Rotate (double angle_in_radians, const ON_3dVector &axis_of_rotation, const ON_3dPoint &center_of_rotation)
bool Translate (const ON_3dVector &delta)
bool GetClosestPoint (ON_3dPoint P, int *closest_point_index, double maximum_distance=0.0) const
Public Member Functions inherited from ON_SimpleArray< ON_3dPoint >
 ON_SimpleArray ()
virtual ~ON_SimpleArray ()
virtual ON_SimpleArray< ON_3dPoint > & operator= (const ON_SimpleArray< ON_3dPoint > &)
void EmergencyDestroy (void)
int Count () const
unsigned int UnsignedCount () const
int Capacity () const
unsigned int SizeOfArray () const
unsigned int SizeOfElement () const
ON__UINT32 DataCRC (ON__UINT32 current_remainder) const
ON_3dPointoperator[] (int)
 operator ON_3dPoint * ()
 operator const ON_3dPoint * () const
ON_3dPointFirst ()
ON_3dPointAt (int)
ON_3dPointLast ()
ON_3dPointAppendNew ()
void Append (const ON_3dPoint &)
void Insert (int, const ON_3dPoint &)
void Remove ()
void Empty ()
void Reverse ()
void Swap (int, int)
int Search (const ON_3dPoint &) const
int BinarySearch (const ON_3dPoint *, int(*)(const ON_3dPoint *, const ON_3dPoint *)) const
bool HeapSort (int(*)(const ON_3dPoint *, const ON_3dPoint *))
bool QuickSort (int(*)(const ON_3dPoint *, const ON_3dPoint *))
bool Sort (ON::sort_algorithm sort_algorithm, int *, int(*)(const ON_3dPoint *, const ON_3dPoint *)) const
bool Permute (const int *)
void Zero ()
void MemSet (unsigned char)
void Reserve (int)
void Shrink ()
void Destroy ()
virtual ON_3dPointRealloc (ON_3dPoint *, int)
ON_3dPointArray ()
void SetCount (int)
void SetCapacity (int)
int NewCapacity () const
ON_3dPointKeepArray ()
void SetArray (ON_3dPoint *)

Additional Inherited Members

Protected Member Functions inherited from ON_SimpleArray< ON_3dPoint >
void Move (int, int, int)
Protected Attributes inherited from ON_SimpleArray< ON_3dPoint >
ON_3dPointm_a
int m_count
int m_capacity

Detailed Description

Definition at line 459 of file opennurbs_array.h.

Constructor & Destructor Documentation

◆ ON_3dPointArray() [1/4]

ON_3dPointArray::ON_3dPointArray ( )

◆ ON_3dPointArray() [2/4]

ON_3dPointArray::ON_3dPointArray ( int )

◆ ON_3dPointArray() [3/4]

ON_3dPointArray::ON_3dPointArray ( const ON_SimpleArray< ON_3dPoint > & )

◆ ON_3dPointArray() [4/4]

ON_3dPointArray::ON_3dPointArray ( const ON_SimpleArray< ON_3fPoint > & )

Member Function Documentation

◆ BoundingBox()

ON_BoundingBox ON_3dPointArray::BoundingBox ( ) const

◆ Create() [1/2]

bool ON_3dPointArray::Create ( int point_dimension,
int bRational,
int point_count,
int point_stride,
const double * points )

◆ Create() [2/2]

bool ON_3dPointArray::Create ( int point_dimension,
int bRational,
int point_count,
int point_stride,
const float * points )

◆ GetBBox()

bool ON_3dPointArray::GetBBox ( double boxmin[3],
double boxmax[3],
int bGrowBox = false ) const

◆ GetBoundingBox()

bool ON_3dPointArray::GetBoundingBox ( ON_BoundingBox & bbox,
int bGrowBox = false ) const

◆ GetClosestPoint()

bool ON_3dPointArray::GetClosestPoint ( ON_3dPoint P,
int * closest_point_index,
double maximum_distance = 0.0 ) const

◆ GetTightBoundingBox()

bool ON_3dPointArray::GetTightBoundingBox ( ON_BoundingBox & tight_bbox,
int bGrowBox = false,
const ON_Xform * xform = 0 ) const

◆ operator=() [1/2]

ON_3dPointArray & ON_3dPointArray::operator= ( const ON_3dPointArray & )

References ON_3dPointArray().

◆ operator=() [2/2]

◆ Rotate() [1/2]

bool ON_3dPointArray::Rotate ( double angle_in_radians,
const ON_3dVector & axis_of_rotation,
const ON_3dPoint & center_of_rotation )

◆ Rotate() [2/2]

bool ON_3dPointArray::Rotate ( double sin_angle,
double cos_angle,
const ON_3dVector & axis_of_rotation,
const ON_3dPoint & center_of_rotation )

◆ SwapCoordinates()

bool ON_3dPointArray::SwapCoordinates ( int i,
int j )

◆ Transform()

bool ON_3dPointArray::Transform ( const ON_Xform & xform)

◆ Translate()

bool ON_3dPointArray::Translate ( const ON_3dVector & delta)

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