#include <opennurbs_bezier.h>
Public Member Functions | |
ON_BoundingBox | BoundingBox () const |
bool | ChangeDimension (int desired_dimension) |
bool | ChangeWeights (int i0, double w0, int i1, double w1) |
double | ControlPolygonLength () const |
bool | Create (int dim, ON_BOOL32 bIsRational, int order) |
ON_3dVector | CurvatureAt (double t) const |
double * | CV (int cv_index) const |
int | CVCount () const |
int | CVSize () const |
ON::point_style | CVStyle () const |
int | Degree () const |
ON_3dVector | DerivativeAt (double t) const |
void | Destroy () |
int | Dimension () const |
ON_Interval | Domain () const |
void | Dump (ON_TextLog &) const |
void | EmergencyDestroy () |
bool | Ev1Der (double t, ON_3dPoint &point, ON_3dVector &first_derivative) const |
bool | Ev2Der (double t, ON_3dPoint &point, ON_3dVector &first_derivative, ON_3dVector &second_derivative) const |
bool | Evaluate (double t, int der_count, int v_stride, double *v) const |
bool | EvCurvature (double t, ON_3dPoint &point, ON_3dVector &tangent, ON_3dVector &kappa) const |
bool | EvPoint (double t, ON_3dPoint &point) const |
bool | EvTangent (double t, ON_3dPoint &point, ON_3dVector &tangent) const |
bool | GetBBox (double *box_min, double *box_max, int bGrowBox=false) const |
bool | GetBoundingBox (ON_BoundingBox &bbox, int bGrowBox=false) const |
bool | GetCV (int cv_index, ON::point_style pointstyle, double *cv) const |
bool | GetCV (int cv_index, ON_3dPoint &point) const |
bool | GetCV (int cv_index, ON_4dPoint &point) const |
bool | GetNurbForm (ON_NurbsCurve &nurbs_curve) const |
bool | GetTightBoundingBox (ON_BoundingBox &tight_bbox, int bGrowBox=false, const ON_Xform *xform=0) const |
bool | IncreaseDegree (int desired_degree) |
bool | IsRational () const |
bool | IsValid () const |
bool | Loft (const ON_3dPointArray &points) |
bool | Loft (int pt_dim, int pt_count, int pt_stride, const double *pt, int t_stride, const double *t) |
bool | MakeNonRational () |
bool | MakeRational () |
ON_BezierCurve () | |
ON_BezierCurve (int dim, ON_BOOL32 bIsRational, int order) | |
ON_BezierCurve (const ON_BezierCurve &) | |
ON_BezierCurve (const ON_PolynomialCurve &) | |
ON_BezierCurve (const ON_2dPointArray &) | |
ON_BezierCurve (const ON_3dPointArray &) | |
ON_BezierCurve (const ON_4dPointArray &) | |
ON_BezierCurve & | operator= (const ON_BezierCurve &) |
ON_BezierCurve & | operator= (const ON_PolynomialCurve &) |
ON_BezierCurve & | operator= (const ON_2dPointArray &) |
ON_BezierCurve & | operator= (const ON_3dPointArray &) |
ON_BezierCurve & | operator= (const ON_4dPointArray &) |
int | Order () const |
ON_3dPoint | PointAt (double t) const |
bool | Reparameterize (double c) |
ON_DEPRECATED bool | Reparametrize (double) |
bool | ReserveCVCapacity (int desired_cv_capacity) |
bool | Reverse () |
bool | Rotate (double sin_angle, double cos_angle, const ON_3dVector &rotation_axis, const ON_3dPoint &rotation_center) |
bool | Rotate (double rotation_angle, const ON_3dVector &rotation_axis, const ON_3dPoint &rotation_center) |
bool | Scale (double scale_factor) |
bool | ScaleConrolPoints (int i, double w) |
bool | SetCV (int cv_index, ON::point_style pointstyle, const double *cv) |
bool | SetCV (int cv_index, const ON_3dPoint &point) |
bool | SetCV (int cv_index, const ON_4dPoint &point) |
bool | SetWeight (int cv_index, double weight) |
bool | Split (double t, ON_BezierCurve &left_side, ON_BezierCurve &right_side) const |
ON_3dVector | TangentAt (double t) const |
bool | Transform (const ON_Xform &xform) |
bool | Translate (const ON_3dVector &translation_vector) |
bool | Trim (const ON_Interval &interval) |
double | Weight (int cv_index) const |
bool | ZeroCVs () |
~ON_BezierCurve () | |
Public Attributes | |
double * | m_cv |
int | m_cv_capacity |
int | m_cv_stride |
int | m_dim |
int | m_is_rat |
int | m_order |
Definition at line 148 of file opennurbs_bezier.h.
Definition at line 319 of file opennurbs_bezier.cpp.
ON_BezierCurve::ON_BezierCurve | ( | int | dim, |
ON_BOOL32 | bIsRational, | ||
int | order | ||
) |
Definition at line 332 of file opennurbs_bezier.cpp.
Definition at line 346 of file opennurbs_bezier.cpp.
ON_BezierCurve::ON_BezierCurve | ( | const ON_BezierCurve & | src | ) |
Definition at line 351 of file opennurbs_bezier.cpp.
ON_BezierCurve::ON_BezierCurve | ( | const ON_PolynomialCurve & | src | ) |
Definition at line 365 of file opennurbs_bezier.cpp.
ON_BezierCurve::ON_BezierCurve | ( | const ON_2dPointArray & | cv | ) |
Definition at line 379 of file opennurbs_bezier.cpp.
ON_BezierCurve::ON_BezierCurve | ( | const ON_3dPointArray & | cv | ) |
Definition at line 393 of file opennurbs_bezier.cpp.
ON_BezierCurve::ON_BezierCurve | ( | const ON_4dPointArray & | cv | ) |
Definition at line 407 of file opennurbs_bezier.cpp.
ON_BoundingBox ON_BezierCurve::BoundingBox | ( | ) | const |
Definition at line 696 of file opennurbs_bezier.cpp.
bool ON_BezierCurve::ChangeDimension | ( | int | desired_dimension | ) |
Definition at line 1569 of file opennurbs_bezier.cpp.
bool ON_BezierCurve::ChangeWeights | ( | int | i0, |
double | w0, | ||
int | i1, | ||
double | w1 | ||
) |
Definition at line 3042 of file opennurbs_bezier.cpp.
double ON_BezierCurve::ControlPolygonLength | ( | ) | const |
Definition at line 1592 of file opennurbs_bezier.cpp.
bool ON_BezierCurve::Create | ( | int | dim, |
ON_BOOL32 | bIsRational, | ||
int | order | ||
) |
Definition at line 620 of file opennurbs_bezier.cpp.
ON_3dVector ON_BezierCurve::CurvatureAt | ( | double | t | ) | const |
Definition at line 3143 of file opennurbs_bezier.cpp.
double * ON_BezierCurve::CV | ( | int | cv_index | ) | const |
Definition at line 1209 of file opennurbs_bezier.cpp.
int ON_BezierCurve::CVCount | ( | ) | const |
Definition at line 1462 of file opennurbs_bezier.cpp.
int ON_BezierCurve::CVSize | ( | ) | const |
Definition at line 1194 of file opennurbs_bezier.cpp.
ON::point_style ON_BezierCurve::CVStyle | ( | ) | const |
Definition at line 1214 of file opennurbs_bezier.cpp.
int ON_BezierCurve::Degree | ( | ) | const |
Definition at line 1204 of file opennurbs_bezier.cpp.
ON_3dVector ON_BezierCurve::DerivativeAt | ( | double | t | ) | const |
Definition at line 3127 of file opennurbs_bezier.cpp.
void ON_BezierCurve::Destroy | ( | ) |
Definition at line 636 of file opennurbs_bezier.cpp.
int ON_BezierCurve::Dimension | ( | ) | const |
Definition at line 615 of file opennurbs_bezier.cpp.
ON_Interval ON_BezierCurve::Domain | ( | ) | const |
Definition at line 1147 of file opennurbs_bezier.cpp.
void ON_BezierCurve::Dump | ( | ON_TextLog & | dump | ) | const |
Definition at line 595 of file opennurbs_bezier.cpp.
void ON_BezierCurve::EmergencyDestroy | ( | void | ) |
Definition at line 650 of file opennurbs_bezier.cpp.
bool ON_BezierCurve::Ev1Der | ( | double | t, |
ON_3dPoint & | point, | ||
ON_3dVector & | first_derivative | ||
) | const |
Definition at line 3278 of file opennurbs_bezier.cpp.
bool ON_BezierCurve::Ev2Der | ( | double | t, |
ON_3dPoint & | point, | ||
ON_3dVector & | first_derivative, | ||
ON_3dVector & | second_derivative | ||
) | const |
Definition at line 3317 of file opennurbs_bezier.cpp.
bool ON_BezierCurve::Evaluate | ( | double | t, |
int | der_count, | ||
int | v_stride, | ||
double * | v | ||
) | const |
Definition at line 1161 of file opennurbs_bezier.cpp.
bool ON_BezierCurve::EvCurvature | ( | double | t, |
ON_3dPoint & | point, | ||
ON_3dVector & | tangent, | ||
ON_3dVector & | kappa | ||
) | const |
Definition at line 3230 of file opennurbs_bezier.cpp.
bool ON_BezierCurve::EvPoint | ( | double | t, |
ON_3dPoint & | point | ||
) | const |
Definition at line 3247 of file opennurbs_bezier.cpp.
bool ON_BezierCurve::EvTangent | ( | double | t, |
ON_3dPoint & | point, | ||
ON_3dVector & | tangent | ||
) | const |
Definition at line 3151 of file opennurbs_bezier.cpp.
bool ON_BezierCurve::GetBBox | ( | double * | box_min, |
double * | box_max, | ||
int | bGrowBox = false |
||
) | const |
Definition at line 655 of file opennurbs_bezier.cpp.
bool ON_BezierCurve::GetBoundingBox | ( | ON_BoundingBox & | bbox, |
int | bGrowBox = false |
||
) | const |
Definition at line 664 of file opennurbs_bezier.cpp.
bool ON_BezierCurve::GetCV | ( | int | cv_index, |
ON::point_style | pointstyle, | ||
double * | cv | ||
) | const |
Definition at line 1367 of file opennurbs_bezier.cpp.
bool ON_BezierCurve::GetCV | ( | int | cv_index, |
ON_3dPoint & | point | ||
) | const |
Definition at line 1394 of file opennurbs_bezier.cpp.
bool ON_BezierCurve::GetCV | ( | int | cv_index, |
ON_4dPoint & | point | ||
) | const |
Definition at line 1419 of file opennurbs_bezier.cpp.
bool ON_BezierCurve::GetNurbForm | ( | ON_NurbsCurve & | nurbs_curve | ) | const |
Definition at line 1173 of file opennurbs_bezier.cpp.
bool ON_BezierCurve::GetTightBoundingBox | ( | ON_BoundingBox & | tight_bbox, |
int | bGrowBox = false , |
||
const ON_Xform * | xform = 0 |
||
) | const |
Definition at line 22 of file opennurbs_bezier.cpp.
bool ON_BezierCurve::IncreaseDegree | ( | int | desired_degree | ) |
Definition at line 1518 of file opennurbs_bezier.cpp.
bool ON_BezierCurve::IsRational | ( | ) | const |
Definition at line 1189 of file opennurbs_bezier.cpp.
bool ON_BezierCurve::IsValid | ( | ) | const |
Definition at line 578 of file opennurbs_bezier.cpp.
bool ON_BezierCurve::Loft | ( | const ON_3dPointArray & | points | ) |
Definition at line 521 of file opennurbs_bezier.cpp.
bool ON_BezierCurve::Loft | ( | int | pt_dim, |
int | pt_count, | ||
int | pt_stride, | ||
const double * | pt, | ||
int | t_stride, | ||
const double * | t | ||
) |
Definition at line 528 of file opennurbs_bezier.cpp.
bool ON_BezierCurve::MakeNonRational | ( | ) |
Definition at line 1493 of file opennurbs_bezier.cpp.
bool ON_BezierCurve::MakeRational | ( | ) |
Definition at line 1467 of file opennurbs_bezier.cpp.
ON_BezierCurve & ON_BezierCurve::operator= | ( | const ON_BezierCurve & | src | ) |
Definition at line 455 of file opennurbs_bezier.cpp.
ON_BezierCurve & ON_BezierCurve::operator= | ( | const ON_PolynomialCurve & | src | ) |
Definition at line 470 of file opennurbs_bezier.cpp.
ON_BezierCurve & ON_BezierCurve::operator= | ( | const ON_2dPointArray & | cv | ) |
Definition at line 421 of file opennurbs_bezier.cpp.
ON_BezierCurve & ON_BezierCurve::operator= | ( | const ON_3dPointArray & | cv | ) |
Definition at line 432 of file opennurbs_bezier.cpp.
ON_BezierCurve & ON_BezierCurve::operator= | ( | const ON_4dPointArray & | cv | ) |
Definition at line 443 of file opennurbs_bezier.cpp.
int ON_BezierCurve::Order | ( | ) | const |
Definition at line 1199 of file opennurbs_bezier.cpp.
ON_3dPoint ON_BezierCurve::PointAt | ( | double | t | ) | const |
Definition at line 3120 of file opennurbs_bezier.cpp.
bool ON_BezierCurve::Reparameterize | ( | double | c | ) |
Definition at line 2925 of file opennurbs_bezier.cpp.
bool ON_BezierCurve::Reparametrize | ( | double | c | ) |
Definition at line 2920 of file opennurbs_bezier.cpp.
bool ON_BezierCurve::ReserveCVCapacity | ( | int | desired_cv_capacity | ) |
Definition at line 1539 of file opennurbs_bezier.cpp.
bool ON_BezierCurve::Reverse | ( | ) |
Definition at line 1153 of file opennurbs_bezier.cpp.
bool ON_BezierCurve::Rotate | ( | double | sin_angle, |
double | cos_angle, | ||
const ON_3dVector & | rotation_axis, | ||
const ON_3dPoint & | rotation_center | ||
) |
Definition at line 1111 of file opennurbs_bezier.cpp.
bool ON_BezierCurve::Rotate | ( | double | rotation_angle, |
const ON_3dVector & | rotation_axis, | ||
const ON_3dPoint & | rotation_center | ||
) |
Definition at line 1123 of file opennurbs_bezier.cpp.
bool ON_BezierCurve::Scale | ( | double | scale_factor | ) |
Definition at line 1139 of file opennurbs_bezier.cpp.
bool ON_BezierCurve::ScaleConrolPoints | ( | int | i, |
double | w | ||
) |
Definition at line 2940 of file opennurbs_bezier.cpp.
bool ON_BezierCurve::SetCV | ( | int | cv_index, |
ON::point_style | pointstyle, | ||
const double * | cv | ||
) |
Definition at line 1240 of file opennurbs_bezier.cpp.
bool ON_BezierCurve::SetCV | ( | int | cv_index, |
const ON_3dPoint & | point | ||
) |
Definition at line 1303 of file opennurbs_bezier.cpp.
bool ON_BezierCurve::SetCV | ( | int | cv_index, |
const ON_4dPoint & | point | ||
) |
Definition at line 1325 of file opennurbs_bezier.cpp.
bool ON_BezierCurve::SetWeight | ( | int | cv_index, |
double | weight | ||
) |
Definition at line 1224 of file opennurbs_bezier.cpp.
bool ON_BezierCurve::Split | ( | double | t, |
ON_BezierCurve & | left_side, | ||
ON_BezierCurve & | right_side | ||
) | const |
Definition at line 1624 of file opennurbs_bezier.cpp.
ON_3dVector ON_BezierCurve::TangentAt | ( | double | t | ) | const |
Definition at line 3135 of file opennurbs_bezier.cpp.
bool ON_BezierCurve::Transform | ( | const ON_Xform & | xform | ) |
Definition at line 1097 of file opennurbs_bezier.cpp.
bool ON_BezierCurve::Translate | ( | const ON_3dVector & | translation_vector | ) |
Definition at line 1132 of file opennurbs_bezier.cpp.
bool ON_BezierCurve::Trim | ( | const ON_Interval & | interval | ) |
Definition at line 1599 of file opennurbs_bezier.cpp.
double ON_BezierCurve::Weight | ( | int | cv_index | ) | const |
Definition at line 1219 of file opennurbs_bezier.cpp.
bool ON_BezierCurve::ZeroCVs | ( | ) |
Definition at line 1433 of file opennurbs_bezier.cpp.
double* ON_BezierCurve::m_cv |
Definition at line 976 of file opennurbs_bezier.h.
Definition at line 982 of file opennurbs_bezier.h.
Definition at line 973 of file opennurbs_bezier.h.
Definition at line 964 of file opennurbs_bezier.h.
Definition at line 967 of file opennurbs_bezier.h.
Definition at line 970 of file opennurbs_bezier.h.