#include <opennurbs_polylinecurve.h>
Public Member Functions | |
bool | Append (const ON_PolylineCurve &) |
ON_BOOL32 | ChangeClosedCurveSeam (double t) |
bool | ChangeDimension (int desired_dimension) |
ON__UINT32 | DataCRC (ON__UINT32 current_remainder) const |
int | Degree () const |
int | Dimension () const |
ON_Interval | Domain () const |
void | Dump (ON_TextLog &dump) const |
void | EmergencyDestroy () |
ON_BOOL32 | Evaluate (double, int, int, double *, int=0, int *=0) const |
bool | Extend (const ON_Interval &domain) |
ON_BOOL32 | GetBBox (double *boxmin, double *boxmax, int bGrowBox=false) const |
ON_BOOL32 | GetCurveParameterFromNurbFormParameter (double, double *) const |
bool | GetNextDiscontinuity (ON::continuity c, double t0, double t1, double *t, int *hint=NULL, int *dtype=NULL, double cos_angle_tolerance=ON_DEFAULT_ANGLE_TOLERANCE_COSINE, double curvature_tolerance=ON_SQRT_EPSILON) const |
int | GetNurbForm (ON_NurbsCurve &, double=0.0, const ON_Interval *=NULL) const |
ON_BOOL32 | GetNurbFormParameterFromCurveParameter (double, double *) const |
ON_BOOL32 | GetSpanVector (double *knot_values) const |
bool | GetTightBoundingBox (ON_BoundingBox &tight_bbox, int bGrowBox=false, const ON_Xform *xform=0) const |
int | HasNurbForm () const |
ON_BOOL32 | IsArc (const ON_Plane *plane=NULL, ON_Arc *arc=NULL, double tolerance=ON_ZERO_TOLERANCE) const |
ON_BOOL32 | IsClosed () const |
bool | IsContinuous (ON::continuity c, double t, int *hint=NULL, double point_tolerance=ON_ZERO_TOLERANCE, double d1_tolerance=ON_ZERO_TOLERANCE, double d2_tolerance=ON_ZERO_TOLERANCE, double cos_angle_tolerance=ON_DEFAULT_ANGLE_TOLERANCE_COSINE, double curvature_tolerance=ON_SQRT_EPSILON) const |
bool | IsDeformable () const |
ON_BOOL32 | IsInPlane (const ON_Plane &test_plane, double tolerance=ON_ZERO_TOLERANCE) const |
ON_BOOL32 | IsLinear (double tolerance=ON_ZERO_TOLERANCE) const |
ON_BOOL32 | IsPeriodic (void) const |
ON_BOOL32 | IsPlanar (ON_Plane *plane=NULL, double tolerance=ON_ZERO_TOLERANCE) const |
int | IsPolyline (ON_SimpleArray< ON_3dPoint > *pline_points=NULL, ON_SimpleArray< double > *pline_t=NULL) const |
ON_BOOL32 | IsValid (ON_TextLog *text_log=NULL) const |
bool | MakeDeformable () |
ON_PolylineCurve () | |
ON_PolylineCurve (const ON_3dPointArray &) | |
ON_PolylineCurve (const ON_PolylineCurve &) | |
ON_PolylineCurve & | operator= (const ON_PolylineCurve &) |
ON_PolylineCurve & | operator= (const ON_3dPointArray &) |
bool | ParameterSearch (double t, int &index, bool bEnableSnap) const |
int | PointCount () const |
ON_BOOL32 | Read (ON_BinaryArchive &binary_archive) |
ON_BOOL32 | Reverse () |
ON_BOOL32 | SetDomain (double t0, double t1) |
ON_BOOL32 | SetEndPoint (ON_3dPoint end_point) |
ON_BOOL32 | SetStartPoint (ON_3dPoint start_point) |
unsigned int | SizeOf () const |
int | SpanCount () const |
ON_BOOL32 | Split (double, ON_Curve *&, ON_Curve *&) const |
ON_BOOL32 | SwapCoordinates (int i, int j) |
ON_BOOL32 | Transform (const ON_Xform &xform) |
ON_BOOL32 | Trim (const ON_Interval &) |
ON_BOOL32 | Write (ON_BinaryArchive &binary_archive) const |
virtual | ~ON_PolylineCurve () |
Public Attributes | |
int | m_dim |
ON_Polyline | m_pline |
ON_SimpleArray< double > | m_t |
Private Member Functions | |
ON_OBJECT_DECLARE (ON_PolylineCurve) |
Definition at line 21 of file opennurbs_polylinecurve.h.
Definition at line 21 of file opennurbs_polylinecurve.cpp.
ON_PolylineCurve::ON_PolylineCurve | ( | const ON_3dPointArray & | L | ) |
Definition at line 31 of file opennurbs_polylinecurve.cpp.
ON_PolylineCurve::ON_PolylineCurve | ( | const ON_PolylineCurve & | L | ) |
Definition at line 26 of file opennurbs_polylinecurve.cpp.
ON_PolylineCurve::~ON_PolylineCurve | ( | ) | [virtual] |
Definition at line 36 of file opennurbs_polylinecurve.cpp.
bool ON_PolylineCurve::Append | ( | const ON_PolylineCurve & | c | ) |
Definition at line 861 of file opennurbs_polylinecurve.cpp.
ON_BOOL32 ON_PolylineCurve::ChangeClosedCurveSeam | ( | double | t | ) | [virtual] |
Reimplemented from ON_Curve.
Definition at line 286 of file opennurbs_polylinecurve.cpp.
bool ON_PolylineCurve::ChangeDimension | ( | int | desired_dimension | ) | [virtual] |
Reimplemented from ON_Curve.
Definition at line 242 of file opennurbs_polylinecurve.cpp.
ON__UINT32 ON_PolylineCurve::DataCRC | ( | ON__UINT32 | current_remainder | ) | const [virtual] |
Reimplemented from ON_Object.
Definition at line 49 of file opennurbs_polylinecurve.cpp.
int ON_PolylineCurve::Degree | ( | ) | const [virtual] |
Implements ON_Curve.
Definition at line 368 of file opennurbs_polylinecurve.cpp.
int ON_PolylineCurve::Dimension | ( | ) | const [virtual] |
Implements ON_Geometry.
Definition at line 88 of file opennurbs_polylinecurve.cpp.
ON_Interval ON_PolylineCurve::Domain | ( | ) | const [virtual] |
Implements ON_Curve.
Definition at line 206 of file opennurbs_polylinecurve.cpp.
void ON_PolylineCurve::Dump | ( | ON_TextLog & | dump | ) | const [virtual] |
Reimplemented from ON_Object.
Definition at line 170 of file opennurbs_polylinecurve.cpp.
void ON_PolylineCurve::EmergencyDestroy | ( | void | ) |
Reimplemented from ON_Object.
Definition at line 57 of file opennurbs_polylinecurve.cpp.
ON_BOOL32 ON_PolylineCurve::Evaluate | ( | double | t, |
int | der_count, | ||
int | v_stride, | ||
double * | v, | ||
int | side = 0 , |
||
int * | hint = 0 |
||
) | const [virtual] |
Implements ON_Curve.
Definition at line 790 of file opennurbs_polylinecurve.cpp.
bool ON_PolylineCurve::Extend | ( | const ON_Interval & | domain | ) | [virtual] |
Reimplemented from ON_Curve.
Definition at line 1068 of file opennurbs_polylinecurve.cpp.
ON_BOOL32 ON_PolylineCurve::GetBBox | ( | double * | boxmin, |
double * | boxmax, | ||
int | bGrowBox = false |
||
) | const [virtual] |
Implements ON_Geometry.
Definition at line 94 of file opennurbs_polylinecurve.cpp.
ON_BOOL32 ON_PolylineCurve::GetCurveParameterFromNurbFormParameter | ( | double | nurbs_t, |
double * | curve_t | ||
) | const [virtual] |
Reimplemented from ON_Curve.
Definition at line 1252 of file opennurbs_polylinecurve.cpp.
bool ON_PolylineCurve::GetNextDiscontinuity | ( | ON::continuity | c, |
double | t0, | ||
double | t1, | ||
double * | t, | ||
int * | hint = NULL , |
||
int * | dtype = NULL , |
||
double | cos_angle_tolerance = ON_DEFAULT_ANGLE_TOLERANCE_COSINE , |
||
double | curvature_tolerance = ON_SQRT_EPSILON |
||
) | const [virtual] |
Reimplemented from ON_Curve.
Definition at line 503 of file opennurbs_polylinecurve.cpp.
int ON_PolylineCurve::GetNurbForm | ( | ON_NurbsCurve & | nurb, |
double | tol = 0.0 , |
||
const ON_Interval * | subdomain = NULL |
||
) | const [virtual] |
Reimplemented from ON_Curve.
Definition at line 1219 of file opennurbs_polylinecurve.cpp.
ON_BOOL32 ON_PolylineCurve::GetNurbFormParameterFromCurveParameter | ( | double | curve_t, |
double * | nurbs_t | ||
) | const [virtual] |
Reimplemented from ON_Curve.
Definition at line 1261 of file opennurbs_polylinecurve.cpp.
ON_BOOL32 ON_PolylineCurve::GetSpanVector | ( | double * | knot_values | ) | const [virtual] |
Implements ON_Curve.
Definition at line 354 of file opennurbs_polylinecurve.cpp.
bool ON_PolylineCurve::GetTightBoundingBox | ( | ON_BoundingBox & | tight_bbox, |
int | bGrowBox = false , |
||
const ON_Xform * | xform = 0 |
||
) | const [virtual] |
Reimplemented from ON_Curve.
Definition at line 891 of file opennurbs_bezier.cpp.
int ON_PolylineCurve::HasNurbForm | ( | ) | const [virtual] |
Reimplemented from ON_Curve.
Definition at line 1243 of file opennurbs_polylinecurve.cpp.
ON_BOOL32 ON_PolylineCurve::IsArc | ( | const ON_Plane * | plane = NULL , |
ON_Arc * | arc = NULL , |
||
double | tolerance = ON_ZERO_TOLERANCE |
||
) | const [virtual] |
Reimplemented from ON_Curve.
Definition at line 422 of file opennurbs_polylinecurve.cpp.
ON_BOOL32 ON_PolylineCurve::IsClosed | ( | void | ) | const [virtual] |
Reimplemented from ON_Curve.
Definition at line 492 of file opennurbs_polylinecurve.cpp.
bool ON_PolylineCurve::IsContinuous | ( | ON::continuity | c, |
double | t, | ||
int * | hint = NULL , |
||
double | point_tolerance = ON_ZERO_TOLERANCE , |
||
double | d1_tolerance = ON_ZERO_TOLERANCE , |
||
double | d2_tolerance = ON_ZERO_TOLERANCE , |
||
double | cos_angle_tolerance = ON_DEFAULT_ANGLE_TOLERANCE_COSINE , |
||
double | curvature_tolerance = ON_SQRT_EPSILON |
||
) | const [virtual] |
Reimplemented from ON_Curve.
Definition at line 629 of file opennurbs_polylinecurve.cpp.
bool ON_PolylineCurve::IsDeformable | ( | ) | const [virtual] |
Reimplemented from ON_Geometry.
Definition at line 639 of file opennurbs_nurbscurve.cpp.
ON_BOOL32 ON_PolylineCurve::IsInPlane | ( | const ON_Plane & | test_plane, |
double | tolerance = ON_ZERO_TOLERANCE |
||
) | const [virtual] |
Implements ON_Curve.
Definition at line 468 of file opennurbs_polylinecurve.cpp.
ON_BOOL32 ON_PolylineCurve::IsLinear | ( | double | tolerance = ON_ZERO_TOLERANCE | ) | const [virtual] |
Reimplemented from ON_Curve.
Definition at line 375 of file opennurbs_polylinecurve.cpp.
ON_BOOL32 ON_PolylineCurve::IsPeriodic | ( | void | ) | const [virtual] |
Reimplemented from ON_Curve.
Definition at line 498 of file opennurbs_polylinecurve.cpp.
ON_BOOL32 ON_PolylineCurve::IsPlanar | ( | ON_Plane * | plane = NULL , |
double | tolerance = ON_ZERO_TOLERANCE |
||
) | const [virtual] |
Reimplemented from ON_Curve.
Definition at line 434 of file opennurbs_polylinecurve.cpp.
int ON_PolylineCurve::IsPolyline | ( | ON_SimpleArray< ON_3dPoint > * | pline_points = NULL , |
ON_SimpleArray< double > * | pline_t = NULL |
||
) | const [virtual] |
Reimplemented from ON_Curve.
Definition at line 399 of file opennurbs_polylinecurve.cpp.
ON_BOOL32 ON_PolylineCurve::IsValid | ( | ON_TextLog * | text_log = NULL | ) | const [virtual] |
Implements ON_Object.
Definition at line 123 of file opennurbs_polylinecurve.cpp.
bool ON_PolylineCurve::MakeDeformable | ( | ) | [virtual] |
Reimplemented from ON_Geometry.
Definition at line 644 of file opennurbs_nurbscurve.cpp.
ON_PolylineCurve::ON_OBJECT_DECLARE | ( | ON_PolylineCurve | ) | [private] |
ON_PolylineCurve & ON_PolylineCurve::operator= | ( | const ON_PolylineCurve & | src | ) |
Definition at line 63 of file opennurbs_polylinecurve.cpp.
ON_PolylineCurve & ON_PolylineCurve::operator= | ( | const ON_3dPointArray & | src | ) |
Definition at line 74 of file opennurbs_polylinecurve.cpp.
bool ON_PolylineCurve::ParameterSearch | ( | double | t, |
int & | index, | ||
bool | bEnableSnap | ||
) | const |
Definition at line 887 of file opennurbs_polylinecurve.cpp.
ON_BOOL32 ON_PolylineCurve::PointCount | ( | void | ) | const |
Definition at line 856 of file opennurbs_polylinecurve.cpp.
ON_BOOL32 ON_PolylineCurve::Read | ( | ON_BinaryArchive & | binary_archive | ) | [virtual] |
Reimplemented from ON_Object.
Definition at line 192 of file opennurbs_polylinecurve.cpp.
ON_BOOL32 ON_PolylineCurve::Reverse | ( | ) | [virtual] |
Implements ON_Curve.
Definition at line 716 of file opennurbs_polylinecurve.cpp.
ON_BOOL32 ON_PolylineCurve::SetDomain | ( | double | t0, |
double | t1 | ||
) | [virtual] |
Reimplemented from ON_Curve.
Definition at line 217 of file opennurbs_polylinecurve.cpp.
ON_BOOL32 ON_PolylineCurve::SetEndPoint | ( | ON_3dPoint | end_point | ) | [virtual] |
Reimplemented from ON_Curve.
Definition at line 761 of file opennurbs_polylinecurve.cpp.
ON_BOOL32 ON_PolylineCurve::SetStartPoint | ( | ON_3dPoint | start_point | ) | [virtual] |
Reimplemented from ON_Curve.
Definition at line 733 of file opennurbs_polylinecurve.cpp.
unsigned int ON_PolylineCurve::SizeOf | ( | ) | const [virtual] |
Reimplemented from ON_Curve.
Definition at line 40 of file opennurbs_polylinecurve.cpp.
int ON_PolylineCurve::SpanCount | ( | ) | const [virtual] |
Implements ON_Curve.
Definition at line 349 of file opennurbs_polylinecurve.cpp.
ON_BOOL32 ON_PolylineCurve::Split | ( | double | t, |
ON_Curve *& | left_side, | ||
ON_Curve *& | right_side | ||
) | const [virtual] |
Reimplemented from ON_Curve.
Definition at line 1116 of file opennurbs_polylinecurve.cpp.
ON_BOOL32 ON_PolylineCurve::SwapCoordinates | ( | int | i, |
int | j | ||
) | [virtual] |
Reimplemented from ON_Geometry.
Definition at line 117 of file opennurbs_polylinecurve.cpp.
ON_BOOL32 ON_PolylineCurve::Transform | ( | const ON_Xform & | xform | ) | [virtual] |
Reimplemented from ON_Geometry.
Definition at line 107 of file opennurbs_polylinecurve.cpp.
ON_BOOL32 ON_PolylineCurve::Trim | ( | const ON_Interval & | domain | ) | [virtual] |
Reimplemented from ON_Curve.
Definition at line 892 of file opennurbs_polylinecurve.cpp.
ON_BOOL32 ON_PolylineCurve::Write | ( | ON_BinaryArchive & | binary_archive | ) | const [virtual] |
Reimplemented from ON_Object.
Definition at line 181 of file opennurbs_polylinecurve.cpp.
Definition at line 574 of file opennurbs_polylinecurve.h.
Definition at line 572 of file opennurbs_polylinecurve.h.
ON_SimpleArray<double> ON_PolylineCurve::m_t |
Definition at line 573 of file opennurbs_polylinecurve.h.