#include <opennurbs_bezier.h>
Public Member Functions | |
bool | Create (int dim, bool is_rat, int order0, int order1, int order2) |
bool | Create (const ON_BoundingBox &bbox, int order0, int order1, int order2) |
bool | Create (const ON_3dPoint *box_corners, int order0, int order1, int order2) |
double * | CV (int i, int j, int k) const |
int | CVSize () const |
ON::point_style | CVStyle () const |
int | Degree (int) const |
void | Destroy () |
int | Dimension () const |
ON_Interval | Domain (int) const |
void | Dump (ON_TextLog &text_log) const |
void | EmergencyDestroy () |
bool | Evaluate (double r, double s, double t, int der_count, int v_stride, double *v) const |
bool | GetBBox (double *boxmin, double *boxmax, int bGrowBox=false) const |
bool | GetCV (int i, int j, int k, ON::point_style, double *) const |
bool | GetCV (int i, int j, int k, ON_3dPoint &) const |
bool | GetCV (int i, int j, int k, ON_4dPoint &) const |
bool | IsRational () const |
bool | IsSingular (int) const |
bool | IsValid () const |
bool | MakeNonRational () |
bool | MakeRational () |
ON_BezierCage () | |
ON_BezierCage (int dim, bool is_rat, int order0, int order1, int order2) | |
ON_BezierCage (const ON_BoundingBox &bbox, int order0, int order1, int order2) | |
ON_BezierCage (const ON_3dPoint *box_corners, int order0, int order1, int order2) | |
ON_BezierCage (const ON_BezierCage &src) | |
ON_BezierCage & | operator= (const ON_BezierCage &src) |
int | Order (int) const |
ON_3dPoint | PointAt (double r, double s, double t) const |
ON_3dPoint | PointAt (ON_3dPoint rst) const |
bool | Read (ON_BinaryArchive &archive) |
bool | ReserveCVCapacity (int cv_capacity) |
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 | SetCV (int i, int j, int k, ON::point_style, const double *) |
bool | SetCV (int i, int j, int k, const ON_3dPoint &point) |
bool | SetCV (int i, int j, int k, const ON_4dPoint &hpoint) |
bool | SetWeight (int i, int j, int k, double w) |
bool | Transform (const ON_Xform &xform) |
bool | Translate (const ON_3dVector &translation_vector) |
double | Weight (int i, int j, int k) const |
bool | Write (ON_BinaryArchive &archive) const |
bool | ZeroCVs () |
~ON_BezierCage () | |
Public Attributes | |
double * | m_cv |
int | m_cv_capacity |
int | m_cv_stride [3] |
int | m_dim |
bool | m_is_rat |
int | m_order [3] |
Definition at line 1313 of file opennurbs_bezier.h.
Definition at line 157 of file opennurbs_beziervolume.cpp.
ON_BezierCage::ON_BezierCage | ( | int | dim, |
bool | is_rat, | ||
int | order0, | ||
int | order1, | ||
int | order2 | ||
) |
Definition at line 168 of file opennurbs_beziervolume.cpp.
ON_BezierCage::ON_BezierCage | ( | const ON_BoundingBox & | bbox, |
int | order0, | ||
int | order1, | ||
int | order2 | ||
) |
Definition at line 180 of file opennurbs_beziervolume.cpp.
ON_BezierCage::ON_BezierCage | ( | const ON_3dPoint * | box_corners, |
int | order0, | ||
int | order1, | ||
int | order2 | ||
) |
Definition at line 186 of file opennurbs_beziervolume.cpp.
Definition at line 192 of file opennurbs_beziervolume.cpp.
ON_BezierCage::ON_BezierCage | ( | const ON_BezierCage & | src | ) |
Definition at line 197 of file opennurbs_beziervolume.cpp.
bool ON_BezierCage::Create | ( | int | dim, |
bool | is_rat, | ||
int | order0, | ||
int | order1, | ||
int | order2 | ||
) |
Definition at line 354 of file opennurbs_beziervolume.cpp.
bool ON_BezierCage::Create | ( | const ON_BoundingBox & | bbox, |
int | order0, | ||
int | order1, | ||
int | order2 | ||
) |
Definition at line 325 of file opennurbs_beziervolume.cpp.
bool ON_BezierCage::Create | ( | const ON_3dPoint * | box_corners, |
int | order0, | ||
int | order1, | ||
int | order2 | ||
) |
Definition at line 371 of file opennurbs_beziervolume.cpp.
double * ON_BezierCage::CV | ( | int | i, |
int | j, | ||
int | k | ||
) | const |
Definition at line 701 of file opennurbs_beziervolume.cpp.
int ON_BezierCage::CVSize | ( | ) | const |
Definition at line 685 of file opennurbs_beziervolume.cpp.
ON::point_style ON_BezierCage::CVStyle | ( | ) | const |
Definition at line 718 of file opennurbs_beziervolume.cpp.
int ON_BezierCage::Degree | ( | int | dir | ) | const |
Definition at line 695 of file opennurbs_beziervolume.cpp.
void ON_BezierCage::Destroy | ( | ) |
Definition at line 431 of file opennurbs_beziervolume.cpp.
int ON_BezierCage::Dimension | ( | ) | const |
Definition at line 320 of file opennurbs_beziervolume.cpp.
ON_Interval ON_BezierCage::Domain | ( | int | ) | const |
Definition at line 542 of file opennurbs_beziervolume.cpp.
void ON_BezierCage::Dump | ( | ON_TextLog & | text_log | ) | const |
Definition at line 283 of file opennurbs_beziervolume.cpp.
void ON_BezierCage::EmergencyDestroy | ( | void | ) |
Definition at line 447 of file opennurbs_beziervolume.cpp.
bool ON_BezierCage::Evaluate | ( | double | r, |
double | s, | ||
double | t, | ||
int | der_count, | ||
int | v_stride, | ||
double * | v | ||
) | const |
Definition at line 549 of file opennurbs_beziervolume.cpp.
bool ON_BezierCage::GetBBox | ( | double * | boxmin, |
double * | boxmax, | ||
int | bGrowBox = false |
||
) | const |
Definition at line 462 of file opennurbs_beziervolume.cpp.
bool ON_BezierCage::GetCV | ( | int | i, |
int | j, | ||
int | k, | ||
ON::point_style | style, | ||
double * | Point | ||
) | const |
Definition at line 863 of file opennurbs_beziervolume.cpp.
bool ON_BezierCage::GetCV | ( | int | i, |
int | j, | ||
int | k, | ||
ON_3dPoint & | point | ||
) | const |
Definition at line 890 of file opennurbs_beziervolume.cpp.
bool ON_BezierCage::GetCV | ( | int | i, |
int | j, | ||
int | k, | ||
ON_4dPoint & | point | ||
) | const |
Definition at line 914 of file opennurbs_beziervolume.cpp.
bool ON_BezierCage::IsRational | ( | ) | const |
Definition at line 680 of file opennurbs_beziervolume.cpp.
bool ON_BezierCage::IsSingular | ( | int | side | ) | const |
Definition at line 1087 of file opennurbs_beziervolume.cpp.
bool ON_BezierCage::IsValid | ( | ) | const |
Definition at line 232 of file opennurbs_beziervolume.cpp.
bool ON_BezierCage::MakeNonRational | ( | ) |
Definition at line 1016 of file opennurbs_beziervolume.cpp.
bool ON_BezierCage::MakeRational | ( | ) |
Definition at line 966 of file opennurbs_beziervolume.cpp.
ON_BezierCage & ON_BezierCage::operator= | ( | const ON_BezierCage & | src | ) |
Definition at line 209 of file opennurbs_beziervolume.cpp.
int ON_BezierCage::Order | ( | int | dir | ) | const |
Definition at line 690 of file opennurbs_beziervolume.cpp.
ON_3dPoint ON_BezierCage::PointAt | ( | double | r, |
double | s, | ||
double | t | ||
) | const |
Definition at line 628 of file opennurbs_beziervolume.cpp.
ON_3dPoint ON_BezierCage::PointAt | ( | ON_3dPoint | rst | ) | const |
Definition at line 656 of file opennurbs_beziervolume.cpp.
bool ON_BezierCage::Read | ( | ON_BinaryArchive & | archive | ) |
Definition at line 19 of file opennurbs_beziervolume.cpp.
bool ON_BezierCage::ReserveCVCapacity | ( | int | cv_capacity | ) |
Definition at line 1065 of file opennurbs_beziervolume.cpp.
bool ON_BezierCage::Rotate | ( | double | sin_angle, |
double | cos_angle, | ||
const ON_3dVector & | rotation_axis, | ||
const ON_3dPoint & | rotation_center | ||
) |
Definition at line 507 of file opennurbs_beziervolume.cpp.
bool ON_BezierCage::Rotate | ( | double | rotation_angle, |
const ON_3dVector & | rotation_axis, | ||
const ON_3dPoint & | rotation_center | ||
) |
Definition at line 519 of file opennurbs_beziervolume.cpp.
bool ON_BezierCage::Scale | ( | double | scale_factor | ) |
Definition at line 535 of file opennurbs_beziervolume.cpp.
bool ON_BezierCage::SetCV | ( | int | i, |
int | j, | ||
int | k, | ||
ON::point_style | style, | ||
const double * | Point | ||
) |
Definition at line 748 of file opennurbs_beziervolume.cpp.
bool ON_BezierCage::SetCV | ( | int | i, |
int | j, | ||
int | k, | ||
const ON_3dPoint & | point | ||
) |
Definition at line 808 of file opennurbs_beziervolume.cpp.
bool ON_BezierCage::SetCV | ( | int | i, |
int | j, | ||
int | k, | ||
const ON_4dPoint & | hpoint | ||
) |
Definition at line 827 of file opennurbs_beziervolume.cpp.
bool ON_BezierCage::SetWeight | ( | int | i, |
int | j, | ||
int | k, | ||
double | w | ||
) |
Definition at line 729 of file opennurbs_beziervolume.cpp.
bool ON_BezierCage::Transform | ( | const ON_Xform & | xform | ) |
Definition at line 480 of file opennurbs_beziervolume.cpp.
bool ON_BezierCage::Translate | ( | const ON_3dVector & | translation_vector | ) |
Definition at line 528 of file opennurbs_beziervolume.cpp.
double ON_BezierCage::Weight | ( | int | i, |
int | j, | ||
int | k | ||
) | const |
Definition at line 723 of file opennurbs_beziervolume.cpp.
bool ON_BezierCage::Write | ( | ON_BinaryArchive & | archive | ) | const |
Definition at line 112 of file opennurbs_beziervolume.cpp.
bool ON_BezierCage::ZeroCVs | ( | ) |
Definition at line 928 of file opennurbs_beziervolume.cpp.
double* ON_BezierCage::m_cv |
Definition at line 1798 of file opennurbs_bezier.h.
Definition at line 1797 of file opennurbs_bezier.h.
int ON_BezierCage::m_cv_stride[3] |
Definition at line 1796 of file opennurbs_bezier.h.
Definition at line 1793 of file opennurbs_bezier.h.
Definition at line 1794 of file opennurbs_bezier.h.
int ON_BezierCage::m_order[3] |
Definition at line 1795 of file opennurbs_bezier.h.