#include <opennurbs_polyline.h>
Public Member Functions | |
int | Clean (double tolerance=0.0) |
bool | ClosestPointTo (const ON_3dPoint &test_point, double *t) const |
bool | ClosestPointTo (const ON_3dPoint &test_point, double *t, int segment_index0, int segment_index1) const |
ON_3dPoint | ClosestPointTo (const ON_3dPoint &test_point) const |
bool | CreateCircumscribedPolygon (const ON_Circle &circle, int side_count) |
bool | CreateInscribedPolygon (const ON_Circle &circle, int side_count) |
bool | CreateStarPolygon (const ON_Circle &circle, double other_radius, int side_count) |
ON_3dVector | DerivativeAt (double t) const |
bool | IsClosed (double tolerance=0.0) const |
bool | IsValid (double tolerance=0.0) const |
double | Length () const |
ON_Polyline () | |
ON_Polyline (const ON_3dPointArray &) | |
ON_Polyline & | operator= (const ON_3dPointArray &) |
ON_3dPoint | PointAt (double t) const |
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 |
~ON_Polyline () |
Definition at line 20 of file opennurbs_polyline.h.
Definition at line 19 of file opennurbs_polyline.cpp.
ON_Polyline::ON_Polyline | ( | const ON_3dPointArray & | src | ) |
Definition at line 23 of file opennurbs_polyline.cpp.
Definition at line 96 of file opennurbs_polyline.cpp.
int ON_Polyline::Clean | ( | double | tolerance = 0.0 | ) |
Definition at line 54 of file opennurbs_polyline.cpp.
bool ON_Polyline::ClosestPointTo | ( | const ON_3dPoint & | test_point, |
double * | t | ||
) | const |
Definition at line 278 of file opennurbs_polyline.cpp.
bool ON_Polyline::ClosestPointTo | ( | const ON_3dPoint & | test_point, |
double * | t, | ||
int | segment_index0, | ||
int | segment_index1 | ||
) | const |
Definition at line 236 of file opennurbs_polyline.cpp.
ON_3dPoint ON_Polyline::ClosestPointTo | ( | const ON_3dPoint & | test_point | ) | const |
Definition at line 283 of file opennurbs_polyline.cpp.
bool ON_Polyline::CreateCircumscribedPolygon | ( | const ON_Circle & | circle, |
int | side_count | ||
) |
Definition at line 315 of file opennurbs_polyline.cpp.
bool ON_Polyline::CreateInscribedPolygon | ( | const ON_Circle & | circle, |
int | side_count | ||
) |
Definition at line 292 of file opennurbs_polyline.cpp.
bool ON_Polyline::CreateStarPolygon | ( | const ON_Circle & | circle, |
double | other_radius, | ||
int | side_count | ||
) |
Definition at line 340 of file opennurbs_polyline.cpp.
ON_3dVector ON_Polyline::DerivativeAt | ( | double | t | ) | const |
Definition at line 213 of file opennurbs_polyline.cpp.
bool ON_Polyline::IsClosed | ( | double | tolerance = 0.0 | ) | const |
Definition at line 114 of file opennurbs_polyline.cpp.
bool ON_Polyline::IsValid | ( | double | tolerance = 0.0 | ) | const |
Definition at line 28 of file opennurbs_polyline.cpp.
double ON_Polyline::Length | ( | ) | const |
Definition at line 154 of file opennurbs_polyline.cpp.
ON_Polyline & ON_Polyline::operator= | ( | const ON_3dPointArray & | src | ) |
Reimplemented from ON_3dPointArray.
Definition at line 90 of file opennurbs_polyline.cpp.
ON_3dPoint ON_Polyline::PointAt | ( | double | t | ) | const |
Definition at line 185 of file opennurbs_polyline.cpp.
int ON_Polyline::PointCount | ( | void | ) | const |
Definition at line 100 of file opennurbs_polyline.cpp.
int ON_Polyline::SegmentCount | ( | ) | const |
Definition at line 105 of file opennurbs_polyline.cpp.
ON_3dVector ON_Polyline::SegmentDirection | ( | int | segment_index | ) | const |
Definition at line 166 of file opennurbs_polyline.cpp.
ON_3dVector ON_Polyline::SegmentTangent | ( | int | segment_index | ) | const |
Definition at line 178 of file opennurbs_polyline.cpp.
ON_3dVector ON_Polyline::TangentAt | ( | double | t | ) | const |
Definition at line 229 of file opennurbs_polyline.cpp.