|
| ON_Polyline () |
|
| ON_Polyline (const ON_3dPointArray &) |
|
| ~ON_Polyline () |
|
int | Clean (double tolerance=0.0) |
| Removes duplicate points that result in zero length segments. More...
|
|
bool | ClosestPointTo (const ON_3dPoint &test_point, double *t) const |
| Find a point on the polyline that is closest to test_point. More...
|
|
bool | ClosestPointTo (const ON_3dPoint &test_point, double *t, int segment_index0, int segment_index1) const |
| Find a point on the polyline that is closest to test_point. More...
|
|
ON_3dPoint | ClosestPointTo (const ON_3dPoint &test_point) const |
| Find a point on the polyline that is closest to test_point. More...
|
|
bool | CreateCircumscribedPolygon (const ON_Circle &circle, int side_count) |
| Create a regular polygon circumscribe about a circle. The midpoints of the polygon's edges will be tanget to the circle. More...
|
|
bool | CreateInscribedPolygon (const ON_Circle &circle, int side_count) |
| Create a regular polygon inscribed in a circle. The vertices of the polygon will be on the circle. More...
|
|
bool | CreateStarPolygon (const ON_Circle &circle, double other_radius, int side_count) |
| Create a regular star polygon. The star begins at circle.PointAt(0) and the vertices alternate between being on circle and begin on a concentric circle of other_radius. More...
|
|
ON_3dVector | DerivativeAt (double t) const |
| Evaluate the polyline first derivative at a parameter. More...
|
|
bool | IsClosed (double tolerance=0.0) const |
| Test a polyline to see if it is closed. More...
|
|
bool | IsValid (double tolerance=0.0) const |
| Checks that polyline has at least two points and that sequential points are distinct. If the polyline has 2 or 3 points, then the start and end point must be distinct. More...
|
|
double | Length () const |
|
ON_Polyline & | operator= (const ON_3dPointArray &) |
|
ON_3dPoint | PointAt (double t) const |
| Evaluate the polyline location at a parameter. More...
|
|
int | PointCount () const |
|
int | SegmentCount () const |
|
ON_3dVector | SegmentDirection (int segment_index) const |
|
ON_3dVector | SegmentTangent (int segment_index) const |
|
ON_3dVector | TangentAt (double t) const |
| Evaluate the polyline unit tangent at a parameter. More...
|
|
| ON_3dPointArray () |
| see ON_SimpleArray class definition comments for constructor documentation More...
|
|
| ON_3dPointArray (int) |
|
| ON_3dPointArray (const ON_SimpleArray< ON_3dPoint > &) |
|
| ON_3dPointArray (const ON_SimpleArray< ON_3fPoint > &) |
|
ON_BoundingBox | BoundingBox () const |
| Get 3d axis aligned bounding box. More...
|
|
bool | Create (int point_dimension, int bRational, int point_count, int point_stride, const double *points) |
| Create 3d point list More...
|
|
bool | Create (int point_dimension, int bRational, int point_count, int point_stride, const float *points) |
| Create 3d point list More...
|
|
bool | GetBBox (double boxmin[3], double boxmax[3], bool bGrowBox=false) const |
| Get axis aligned bounding box. More...
|
|
bool | GetBoundingBox (ON_BoundingBox &bbox, int bGrowBox=false) const |
| Get 3d axis aligned bounding box or the union of the input box with the point list's bounding box. More...
|
|
bool | GetClosestPoint (ON_3dPoint P, int *closest_point_index, double maximum_distance=0.0) const |
| Get the index of the point in the array that is closest to P. More...
|
|
bool | GetTightBoundingBox (ON_BoundingBox &tight_bbox, bool bGrowBox=false, const ON_Xform *xform=nullptr) const |
| Get tight bounding box of the point list. More...
|
|
ON_3dPointArray & | operator= (const ON_3dPointArray &) |
|
ON_3dPointArray & | operator= (const ON_SimpleArray< ON_3fPoint > &) |
|
bool | Rotate (double sin_angle, double cos_angle, const ON_3dVector &axis_of_rotation, const ON_3dPoint ¢er_of_rotation) |
| Rotate points about a center and axis. A positive angle results in a counter-clockwise rotation about the axis of rotation. More...
|
|
bool | Rotate (double angle_in_radians, const ON_3dVector &axis_of_rotation, const ON_3dPoint ¢er_of_rotation) |
| Rotate points about a center and axis. A positive angle results in a counter-clockwise rotation about the axis of rotation. More...
|
|
bool | SwapCoordinates (int i, int j) |
| Swaps point coordinate values with indices i and j. More...
|
|
bool | Transform (const ON_Xform &xform) |
| Transform points by applying xform to each point. More...
|
|
bool | Translate (const ON_3dVector &delta) |
| Translate a polyline More...
|
|
| ON_SimpleArray () ON_NOEXCEPT |
| construction //////////////////////////////////////////////////////// More...
|
|
| ON_SimpleArray (const ON_SimpleArray< ON_3dPoint > &) |
| Copy constructor. More...
|
|
| ON_SimpleArray (size_t) |
|
virtual | ~ON_SimpleArray () |
|
void | Append (const ON_3dPoint &) |
|
void | Append (int, const ON_3dPoint *) |
|
ON_3dPoint & | AppendNew () |
| array operations //////////////////////////////////////////////////// More...
|
|
ON_3dPoint * | Array () |
|
const ON_3dPoint * | Array () const |
|
ON_3dPoint * | At (int) |
| At(index) returns nullptr if index < 0 or index >= count. More...
|
|
ON_3dPoint * | At (unsigned int) |
|
ON_3dPoint * | At (ON__INT64) |
|
ON_3dPoint * | At (ON__UINT64) |
|
const ON_3dPoint * | At (int) const |
|
const ON_3dPoint * | At (unsigned int) const |
|
const ON_3dPoint * | At (ON__INT64) const |
|
const ON_3dPoint * | At (ON__UINT64) const |
|
int | BinarySearch (const ON_3dPoint *, int(*)(const ON_3dPoint *, const ON_3dPoint *)) const |
|
int | BinarySearch (const ON_3dPoint *, int(*)(const ON_3dPoint *, const ON_3dPoint *), 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_3dPoint * | First () |
|
const ON_3dPoint * | First () const |
|
bool | HeapSort (int(*)(const ON_3dPoint *, const ON_3dPoint *)) |
|
void | Insert (int, const ON_3dPoint &) |
|
ON_3dPoint * | KeepArray () |
| Expert user tool to take charge of the memory used by the dyanmic array. More...
|
|
ON_3dPoint * | Last () |
|
const ON_3dPoint * | Last () const |
|
void | MemSet (unsigned char) |
|
int | NewCapacity () const |
|
| operator const ON_3dPoint * () const |
|
| operator ON_3dPoint * () |
|
ON_SimpleArray< ON_3dPoint > & | operator= (const ON_SimpleArray< ON_3dPoint > &) |
|
ON_3dPoint & | operator[] (int) |
|
ON_3dPoint & | operator[] (unsigned int) |
|
ON_3dPoint & | operator[] (ON__INT64) |
|
ON_3dPoint & | operator[] (ON__UINT64) |
|
const ON_3dPoint & | operator[] (int) const |
|
const ON_3dPoint & | operator[] (unsigned int) const |
|
const ON_3dPoint & | operator[] (ON__INT64) const |
|
const ON_3dPoint & | operator[] (ON__UINT64) const |
|
bool | Permute (const int *) |
|
bool | QuickSort (int(*)(const ON_3dPoint *, const ON_3dPoint *)) |
|
virtual ON_3dPoint * | Realloc (ON_3dPoint *, int) |
| low level memory managment ////////////////////////////////////////// More...
|
|
void | Remove () |
|
virtual void | Remove (int) |
|
ON_3dPoint * | Reserve (size_t) |
| memory managment //////////////////////////////////////////////////// More...
|
|
void | Reverse () |
|
int | Search (const ON_3dPoint &) const |
|
int | Search (const ON_3dPoint *, int(*)(const ON_3dPoint *, const ON_3dPoint *)) const |
|
void | SetArray (ON_3dPoint *) |
| Do not use this version of SetArray(). Use the one that takes a pointer, count and capacity. More...
|
|
void | SetArray (ON_3dPoint *, int, int) |
| Expert user tool to set the memory used by the dyanmic array. More...
|
|
ON_3dPoint * | SetCapacity (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_3dPoint *, const ON_3dPoint *)) 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_3dPoint *, const ON_3dPoint *, 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 () |
|