#include <opennurbs_nurbssurface.h>
Public Member Functions | |
ON_BOOL32 | ChangeDimension (int desired_dimension) |
bool | ClampEnd (int dir, int end) |
bool | Create (int dim, bool is_rat, int order0, int order1, int order2, int cv_count0, int cv_count1, int cv_count2) |
bool | Create (const ON_BoundingBox &bbox, int order0, int order1, int order2, int cv_count0, int cv_count1, int cv_count2) |
bool | Create (const ON_3dPoint *box_corners, int order0, int order1, int order2, int cv_count0, int cv_count1, int cv_count2) |
double * | CV (int i, int j, int k) const |
int | CVCount (int) const |
int | CVCount (void) const |
int | CVSize () const |
ON::point_style | CVStyle () const |
ON__UINT32 | DataCRC (ON__UINT32 current_remainder) const |
int | Degree (int dir) const |
void | Destroy () |
void | DestroyRuntimeCache (bool bDelete=true) |
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, int side=0, int *hint=0) const |
bool | Extend (int dir, const ON_Interval &domain) |
ON_BOOL32 | 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 | GetSpanVector (int dir, double *span_vector) const |
bool | GetTightBoundingBox (ON_BoundingBox &tight_bbox, int bGrowBox=false, const ON_Xform *xform=0) const |
double | GrevilleAbcissa (int dir, int gindex) const |
ON_BOOL32 | IncreaseDegree (int dir, int desired_degree) |
bool | InsertKnot (int dir, double knot_value, int knot_multiplicity=1) |
bool | IsClosed (int) const |
bool | IsDeformable () const |
ON_NurbsSurface * | IsoSurface (int dir, double c, ON_NurbsSurface *srf=0) const |
bool | IsParallelogram (double tolerance) const |
bool | IsPeriodic (int) const |
bool | IsRational () const |
bool | IsSingular (int) const |
ON_BOOL32 | IsValid (ON_TextLog *text_log=NULL) const |
double | Knot (int dir, int knot_index) const |
int | KnotCount (int dir) const |
bool | MakeDeformable () |
bool | MakeNonRational () |
bool | MakeRational () |
ON::object_type | ObjectType () const |
ON_NurbsCage () | |
ON_NurbsCage (int dim, bool is_rat, int order0, int order1, int order2, int cv_count0, int cv_count1, int cv_count2) | |
ON_NurbsCage (const ON_BoundingBox &bbox, int order0, int order1, int order2, int cv_count0, int cv_count1, int cv_count2) | |
ON_NurbsCage (const ON_3dPoint *box_corners, int order0, int order1, int order2, int cv_count0, int cv_count1, int cv_count2) | |
ON_NurbsCage (const ON_BezierCage &src) | |
ON_NurbsCage (const ON_NurbsCage &src) | |
ON_NurbsCage & | operator= (const ON_NurbsCage &src) |
ON_NurbsCage & | operator= (const ON_BezierCage &src) |
int | Order (int dir) const |
ON_3dPoint | PointAt (double r, double s, double t) const |
ON_3dPoint | PointAt (ON_3dPoint rst) const |
ON_BOOL32 | Read (ON_BinaryArchive &archive) |
bool | ReserveCVCapacity (int cv_capacity) |
bool | ReserveKnotCapacity (int dir, int cv_capacity) |
bool | Reverse (int dir) |
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 | SetKnot (int dir, int knot_index, double knot_value) |
bool | SetWeight (int i, int j, int k, double w) |
unsigned int | SizeOf () const |
int | SpanCount (int dir) const |
ON_BOOL32 | Transform (const ON_Xform &xform) |
bool | Transpose (int dir0, int dir1) |
bool | Trim (int dir, const ON_Interval &domain) |
double | Weight (int i, int j, int k) const |
ON_BOOL32 | Write (ON_BinaryArchive &archive) const |
bool | ZeroCVs () |
~ON_NurbsCage () | |
Public Attributes | |
double * | m_cv |
int | m_cv_capacity |
int | m_cv_count [3] |
int | m_cv_stride [3] |
int | m_dim |
bool | m_is_rat |
double * | m_knot [3] |
int | m_knot_capacity [3] |
int | m_order [3] |
Private Member Functions | |
ON_OBJECT_DECLARE (ON_NurbsCage) |
Definition at line 1028 of file opennurbs_nurbssurface.h.
Definition at line 225 of file opennurbs_nurbsvolume.cpp.
ON_NurbsCage::ON_NurbsCage | ( | int | dim, |
bool | is_rat, | ||
int | order0, | ||
int | order1, | ||
int | order2, | ||
int | cv_count0, | ||
int | cv_count1, | ||
int | cv_count2 | ||
) |
Definition at line 245 of file opennurbs_nurbsvolume.cpp.
ON_NurbsCage::ON_NurbsCage | ( | const ON_BoundingBox & | bbox, |
int | order0, | ||
int | order1, | ||
int | order2, | ||
int | cv_count0, | ||
int | cv_count1, | ||
int | cv_count2 | ||
) |
Definition at line 273 of file opennurbs_nurbsvolume.cpp.
ON_NurbsCage::ON_NurbsCage | ( | const ON_3dPoint * | box_corners, |
int | order0, | ||
int | order1, | ||
int | order2, | ||
int | cv_count0, | ||
int | cv_count1, | ||
int | cv_count2 | ||
) |
Definition at line 351 of file opennurbs_nurbsvolume.cpp.
ON_NurbsCage::ON_NurbsCage | ( | const ON_BezierCage & | src | ) |
Definition at line 375 of file opennurbs_nurbsvolume.cpp.
Definition at line 396 of file opennurbs_nurbsvolume.cpp.
ON_NurbsCage::ON_NurbsCage | ( | const ON_NurbsCage & | src | ) |
Definition at line 549 of file opennurbs_nurbsvolume.cpp.
ON_BOOL32 ON_NurbsCage::ChangeDimension | ( | int | desired_dimension | ) |
bool ON_NurbsCage::ClampEnd | ( | int | dir, |
int | end | ||
) |
bool ON_NurbsCage::Create | ( | int | dim, |
bool | is_rat, | ||
int | order0, | ||
int | order1, | ||
int | order2, | ||
int | cv_count0, | ||
int | cv_count1, | ||
int | cv_count2 | ||
) |
Definition at line 777 of file opennurbs_nurbsvolume.cpp.
bool ON_NurbsCage::Create | ( | const ON_BoundingBox & | bbox, |
int | order0, | ||
int | order1, | ||
int | order2, | ||
int | cv_count0, | ||
int | cv_count1, | ||
int | cv_count2 | ||
) |
Definition at line 744 of file opennurbs_nurbsvolume.cpp.
bool ON_NurbsCage::Create | ( | const ON_3dPoint * | box_corners, |
int | order0, | ||
int | order1, | ||
int | order2, | ||
int | cv_count0, | ||
int | cv_count1, | ||
int | cv_count2 | ||
) |
Definition at line 850 of file opennurbs_nurbsvolume.cpp.
double * ON_NurbsCage::CV | ( | int | i, |
int | j, | ||
int | k | ||
) | const |
Definition at line 1511 of file opennurbs_nurbsvolume.cpp.
int ON_NurbsCage::CVCount | ( | int | dir | ) | const |
Definition at line 472 of file opennurbs_nurbsvolume.cpp.
int ON_NurbsCage::CVCount | ( | void | ) | const |
Definition at line 467 of file opennurbs_nurbsvolume.cpp.
int ON_NurbsCage::CVSize | ( | void | ) | const |
Definition at line 1433 of file opennurbs_nurbsvolume.cpp.
ON::point_style ON_NurbsCage::CVStyle | ( | ) | const |
Definition at line 1530 of file opennurbs_nurbsvolume.cpp.
ON__UINT32 ON_NurbsCage::DataCRC | ( | ON__UINT32 | current_remainder | ) | const [virtual] |
Reimplemented from ON_Object.
Definition at line 516 of file opennurbs_nurbsvolume.cpp.
int ON_NurbsCage::Degree | ( | int | dir | ) | const |
Definition at line 1443 of file opennurbs_nurbsvolume.cpp.
void ON_NurbsCage::Destroy | ( | ) |
Definition at line 916 of file opennurbs_nurbsvolume.cpp.
void ON_NurbsCage::DestroyRuntimeCache | ( | bool | bDelete = true | ) | [virtual] |
Reimplemented from ON_Object.
Definition at line 477 of file opennurbs_nurbsvolume.cpp.
int ON_NurbsCage::Dimension | ( | ) | const [virtual] |
Implements ON_Geometry.
Definition at line 739 of file opennurbs_nurbsvolume.cpp.
ON_Interval ON_NurbsCage::Domain | ( | int | dir | ) | const |
Definition at line 1038 of file opennurbs_nurbsvolume.cpp.
void ON_NurbsCage::Dump | ( | ON_TextLog & | text_log | ) | const [virtual] |
Reimplemented from ON_Object.
Definition at line 691 of file opennurbs_nurbsvolume.cpp.
void ON_NurbsCage::EmergencyDestroy | ( | void | ) |
Reimplemented from ON_Object.
Definition at line 961 of file opennurbs_nurbsvolume.cpp.
bool ON_NurbsCage::Evaluate | ( | double | r, |
double | s, | ||
double | t, | ||
int | der_count, | ||
int | v_stride, | ||
double * | v, | ||
int | side = 0 , |
||
int * | hint = 0 |
||
) | const |
Definition at line 1223 of file opennurbs_nurbsvolume.cpp.
bool ON_NurbsCage::Extend | ( | int | dir, |
const ON_Interval & | domain | ||
) |
ON_BOOL32 ON_NurbsCage::GetBBox | ( | double * | boxmin, |
double * | boxmax, | ||
int | bGrowBox = false |
||
) | const [virtual] |
Implements ON_Geometry.
Definition at line 983 of file opennurbs_nurbsvolume.cpp.
bool ON_NurbsCage::GetCV | ( | int | i, |
int | j, | ||
int | k, | ||
ON::point_style | style, | ||
double * | Point | ||
) | const |
Definition at line 1675 of file opennurbs_nurbsvolume.cpp.
bool ON_NurbsCage::GetCV | ( | int | i, |
int | j, | ||
int | k, | ||
ON_3dPoint & | point | ||
) | const |
Definition at line 1702 of file opennurbs_nurbsvolume.cpp.
bool ON_NurbsCage::GetCV | ( | int | i, |
int | j, | ||
int | k, | ||
ON_4dPoint & | point | ||
) | const |
Definition at line 1726 of file opennurbs_nurbsvolume.cpp.
bool ON_NurbsCage::GetSpanVector | ( | int | dir, |
double * | span_vector | ||
) | const |
bool ON_NurbsCage::GetTightBoundingBox | ( | ON_BoundingBox & | tight_bbox, |
int | bGrowBox = false , |
||
const ON_Xform * | xform = 0 |
||
) | const [virtual] |
Reimplemented from ON_Geometry.
Definition at line 426 of file opennurbs_nurbsvolume.cpp.
double ON_NurbsCage::GrevilleAbcissa | ( | int | dir, |
int | gindex | ||
) | const |
Definition at line 406 of file opennurbs_nurbsvolume.cpp.
ON_BOOL32 ON_NurbsCage::IncreaseDegree | ( | int | dir, |
int | desired_degree | ||
) |
bool ON_NurbsCage::InsertKnot | ( | int | dir, |
double | knot_value, | ||
int | knot_multiplicity = 1 |
||
) |
bool ON_NurbsCage::IsClosed | ( | int | dir | ) | const |
Definition at line 1449 of file opennurbs_nurbsvolume.cpp.
bool ON_NurbsCage::IsDeformable | ( | ) | const [virtual] |
Reimplemented from ON_Geometry.
Definition at line 421 of file opennurbs_nurbsvolume.cpp.
ON_NurbsSurface * ON_NurbsCage::IsoSurface | ( | int | dir, |
double | c, | ||
ON_NurbsSurface * | srf = 0 |
||
) | const |
Definition at line 1325 of file opennurbs_nurbsvolume.cpp.
bool ON_NurbsCage::IsParallelogram | ( | double | tolerance | ) | const |
Definition at line 297 of file opennurbs_nurbsvolume.cpp.
bool ON_NurbsCage::IsPeriodic | ( | int | dir | ) | const |
Definition at line 1482 of file opennurbs_nurbsvolume.cpp.
bool ON_NurbsCage::IsRational | ( | void | ) | const |
Definition at line 1428 of file opennurbs_nurbsvolume.cpp.
bool ON_NurbsCage::IsSingular | ( | int | ) | const |
Definition at line 1977 of file opennurbs_nurbsvolume.cpp.
ON_BOOL32 ON_NurbsCage::IsValid | ( | ON_TextLog * | text_log = NULL | ) | const [virtual] |
Implements ON_Object.
Definition at line 622 of file opennurbs_nurbsvolume.cpp.
double ON_NurbsCage::Knot | ( | int | dir, |
int | knot_index | ||
) | const |
Definition at line 1770 of file opennurbs_nurbsvolume.cpp.
int ON_NurbsCage::KnotCount | ( | int | dir | ) | const |
Definition at line 401 of file opennurbs_nurbsvolume.cpp.
bool ON_NurbsCage::MakeDeformable | ( | ) | [virtual] |
Reimplemented from ON_Geometry.
Definition at line 416 of file opennurbs_nurbsvolume.cpp.
bool ON_NurbsCage::MakeNonRational | ( | ) |
Definition at line 1888 of file opennurbs_nurbsvolume.cpp.
bool ON_NurbsCage::MakeRational | ( | ) |
Definition at line 1834 of file opennurbs_nurbsvolume.cpp.
ON::object_type ON_NurbsCage::ObjectType | ( | ) | const [virtual] |
Reimplemented from ON_Object.
Definition at line 482 of file opennurbs_nurbsvolume.cpp.
ON_NurbsCage::ON_OBJECT_DECLARE | ( | ON_NurbsCage | ) | [private] |
ON_NurbsCage & ON_NurbsCage::operator= | ( | const ON_NurbsCage & | src | ) |
Definition at line 573 of file opennurbs_nurbsvolume.cpp.
ON_NurbsCage & ON_NurbsCage::operator= | ( | const ON_BezierCage & | src | ) |
Definition at line 487 of file opennurbs_nurbsvolume.cpp.
int ON_NurbsCage::Order | ( | int | dir | ) | const |
Definition at line 1438 of file opennurbs_nurbsvolume.cpp.
ON_3dPoint ON_NurbsCage::PointAt | ( | double | r, |
double | s, | ||
double | t | ||
) | const |
Definition at line 1273 of file opennurbs_nurbsvolume.cpp.
ON_3dPoint ON_NurbsCage::PointAt | ( | ON_3dPoint | rst | ) | const |
Definition at line 1301 of file opennurbs_nurbsvolume.cpp.
ON_BOOL32 ON_NurbsCage::Read | ( | ON_BinaryArchive & | archive | ) | [virtual] |
Reimplemented from ON_Object.
Definition at line 24 of file opennurbs_nurbsvolume.cpp.
bool ON_NurbsCage::ReserveCVCapacity | ( | int | cv_capacity | ) |
Definition at line 1921 of file opennurbs_nurbsvolume.cpp.
bool ON_NurbsCage::ReserveKnotCapacity | ( | int | dir, |
int | cv_capacity | ||
) |
Definition at line 1945 of file opennurbs_nurbsvolume.cpp.
bool ON_NurbsCage::Reverse | ( | int | dir | ) |
bool ON_NurbsCage::SetCV | ( | int | i, |
int | j, | ||
int | k, | ||
ON::point_style | style, | ||
const double * | Point | ||
) |
Definition at line 1560 of file opennurbs_nurbsvolume.cpp.
bool ON_NurbsCage::SetCV | ( | int | i, |
int | j, | ||
int | k, | ||
const ON_3dPoint & | point | ||
) |
Definition at line 1620 of file opennurbs_nurbsvolume.cpp.
bool ON_NurbsCage::SetCV | ( | int | i, |
int | j, | ||
int | k, | ||
const ON_4dPoint & | hpoint | ||
) |
Definition at line 1639 of file opennurbs_nurbsvolume.cpp.
bool ON_NurbsCage::SetKnot | ( | int | dir, |
int | knot_index, | ||
double | knot_value | ||
) |
Definition at line 1742 of file opennurbs_nurbsvolume.cpp.
bool ON_NurbsCage::SetWeight | ( | int | i, |
int | j, | ||
int | k, | ||
double | w | ||
) |
Definition at line 1541 of file opennurbs_nurbsvolume.cpp.
unsigned int ON_NurbsCage::SizeOf | ( | ) | const [virtual] |
Reimplemented from ON_Object.
Definition at line 508 of file opennurbs_nurbsvolume.cpp.
int ON_NurbsCage::SpanCount | ( | int | dir | ) | const |
ON_BOOL32 ON_NurbsCage::Transform | ( | const ON_Xform & | xform | ) | [virtual] |
Reimplemented from ON_Geometry.
Definition at line 1011 of file opennurbs_nurbsvolume.cpp.
bool ON_NurbsCage::Transpose | ( | int | dir0, |
int | dir1 | ||
) |
bool ON_NurbsCage::Trim | ( | int | dir, |
const ON_Interval & | domain | ||
) |
double ON_NurbsCage::Weight | ( | int | i, |
int | j, | ||
int | k | ||
) | const |
Definition at line 1535 of file opennurbs_nurbsvolume.cpp.
ON_BOOL32 ON_NurbsCage::Write | ( | ON_BinaryArchive & | archive | ) | const [virtual] |
Reimplemented from ON_Object.
Definition at line 164 of file opennurbs_nurbsvolume.cpp.
bool ON_NurbsCage::ZeroCVs | ( | ) |
Definition at line 1796 of file opennurbs_nurbsvolume.cpp.
double* ON_NurbsCage::m_cv |
Definition at line 1726 of file opennurbs_nurbssurface.h.
Definition at line 1725 of file opennurbs_nurbssurface.h.
int ON_NurbsCage::m_cv_count[3] |
Definition at line 1721 of file opennurbs_nurbssurface.h.
int ON_NurbsCage::m_cv_stride[3] |
Definition at line 1724 of file opennurbs_nurbssurface.h.
Definition at line 1718 of file opennurbs_nurbssurface.h.
Definition at line 1719 of file opennurbs_nurbssurface.h.
double* ON_NurbsCage::m_knot[3] |
Definition at line 1723 of file opennurbs_nurbssurface.h.
Definition at line 1722 of file opennurbs_nurbssurface.h.
int ON_NurbsCage::m_order[3] |
Definition at line 1720 of file opennurbs_nurbssurface.h.