![]() |
QCAD
Open Source 2D CAD
|
#include <opennurbs_bezier.h>
Public Member Functions | |
ON_BoundingBox | BoundingBox () const |
bool | Create (int dim, int is_rat, int order0, int order1) |
double * | CV (int cv_index0, int cv_index1) 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 &) const |
void | EmergencyDestroy () |
bool | Evaluate (double, double, int, int, double *) const |
bool | GetBBox (double *, double *, int bGrowBox=false) const |
bool | GetBoundingBox (ON_BoundingBox &bbox, int bGrowBox) const |
bool | GetClosestPoint (ON_3dPoint P, double *s, double *t, double maximum_distance=0.0, const ON_Interval *sub_domain0=0, const ON_Interval *sub_domain1=0) const |
bool | GetCV (int, int, ON::point_style, double *) const |
bool | GetCV (int, int, ON_3dPoint &) const |
bool | GetCV (int, int, ON_4dPoint &) const |
bool | GetLocalClosestPoint (ON_3dPoint P, double s_seed, double t_seed, double *s, double *t, const ON_Interval *sub_domain0=0, const ON_Interval *sub_domain1=0) const |
bool | GetNurbForm (ON_NurbsSurface &) const |
ON_BezierCurve * | IsoCurve (int dir, double c, ON_BezierCurve *iso=NULL) const |
bool | IsRational () const |
bool | IsSingular (int) const |
bool | IsValid () const |
bool | Loft (const ON_ClassArray< ON_BezierCurve > &curve_list) |
bool | Loft (int count, const ON_BezierCurve *const *curve_list) |
bool | MakeNonRational () |
bool | MakeRational () |
bool | Morph (const ON_SpaceMorph &morph) |
ON_BezierSurface () | |
ON_BezierSurface (const ON_BezierSurface &) | |
ON_BezierSurface (const ON_PolynomialSurface &) | |
ON_BezierSurface (int dim, int is_rat, int order0, int order1) | |
ON_BezierSurface & | operator= (const ON_BezierSurface &) |
ON_BezierSurface & | operator= (const ON_PolynomialSurface &) |
int | Order (int) const |
ON_3dPoint | PointAt (double s, double t) const |
bool | ReserveCVCapacity (int) |
bool | Reverse (int) |
bool | Rotate (double rotation_angle, const ON_3dVector &rotation_axis, const ON_3dPoint &rotation_center) |
bool | Rotate (double sin_angle, double cos_angle, const ON_3dVector &rotation_axis, const ON_3dPoint &rotation_center) |
bool | Scale (double scale_factor) |
bool | SetCV (int, int, const ON_3dPoint &) |
bool | SetCV (int, int, const ON_4dPoint &) |
bool | SetCV (int, int, ON::point_style, const double *) |
bool | SetWeight (int, int, double) |
bool | Split (int, double, ON_BezierSurface &, ON_BezierSurface &) const |
bool | Transform (const ON_Xform &) |
bool | Translate (const ON_3dVector &translation_vector) |
bool | Transpose () |
bool | Trim (int dir, const ON_Interval &domain) |
double | Weight (int, int) const |
bool | ZeroCVs () |
~ON_BezierSurface () | |
Public Attributes | |
double * | m_cv |
int | m_cv_capacity |
int | m_cv_stride [2] |
int | m_dim |
int | m_is_rat |
int | m_order [2] |
ON_BezierSurface::ON_BezierSurface | ( | ) |
ON_BezierSurface::ON_BezierSurface | ( | int | dim, |
int | is_rat, | ||
int | order0, | ||
int | order1 ) |
ON_BezierSurface::~ON_BezierSurface | ( | ) |
ON_BezierSurface::ON_BezierSurface | ( | const ON_BezierSurface & | src | ) |
ON_BezierSurface::ON_BezierSurface | ( | const ON_PolynomialSurface & | src | ) |
ON_BoundingBox ON_BezierSurface::BoundingBox | ( | ) | const |
bool ON_BezierSurface::Create | ( | int | dim, |
int | is_rat, | ||
int | order0, | ||
int | order1 ) |
double * ON_BezierSurface::CV | ( | int | cv_index0, |
int | cv_index1 ) const |
int ON_BezierSurface::CVSize | ( | ) | const |
ON::point_style ON_BezierSurface::CVStyle | ( | ) | const |
int ON_BezierSurface::Degree | ( | int | dir | ) | const |
void ON_BezierSurface::Destroy | ( | ) |
int ON_BezierSurface::Dimension | ( | ) | const |
ON_Interval ON_BezierSurface::Domain | ( | int | ) | const |
void ON_BezierSurface::Dump | ( | ON_TextLog & | dump | ) | const |
void ON_BezierSurface::EmergencyDestroy | ( | ) |
bool ON_BezierSurface::Evaluate | ( | double | s, |
double | t, | ||
int | der_count, | ||
int | v_stride, | ||
double * | v ) const |
bool ON_BezierSurface::GetBBox | ( | double * | boxmin, |
double * | boxmax, | ||
int | bGrowBox = false ) const |
bool ON_BezierSurface::GetBoundingBox | ( | ON_BoundingBox & | bbox, |
int | bGrowBox ) const |
bool ON_BezierSurface::GetClosestPoint | ( | ON_3dPoint | P, |
double * | s, | ||
double * | t, | ||
double | maximum_distance = 0.0, | ||
const ON_Interval * | sub_domain0 = 0, | ||
const ON_Interval * | sub_domain1 = 0 ) const |
bool ON_BezierSurface::GetCV | ( | int | i, |
int | j, | ||
ON::point_style | style, | ||
double * | Point ) const |
bool ON_BezierSurface::GetCV | ( | int | i, |
int | j, | ||
ON_3dPoint & | point ) const |
bool ON_BezierSurface::GetCV | ( | int | i, |
int | j, | ||
ON_4dPoint & | point ) const |
bool ON_BezierSurface::GetLocalClosestPoint | ( | ON_3dPoint | P, |
double | s_seed, | ||
double | t_seed, | ||
double * | s, | ||
double * | t, | ||
const ON_Interval * | sub_domain0 = 0, | ||
const ON_Interval * | sub_domain1 = 0 ) const |
bool ON_BezierSurface::GetNurbForm | ( | ON_NurbsSurface & | n | ) | const |
ON_BezierCurve * ON_BezierSurface::IsoCurve | ( | int | dir, |
double | c, | ||
ON_BezierCurve * | iso = NULL ) const |
bool ON_BezierSurface::IsRational | ( | ) | const |
bool ON_BezierSurface::IsSingular | ( | int | side | ) | const |
bool ON_BezierSurface::IsValid | ( | ) | const |
bool ON_BezierSurface::Loft | ( | const ON_ClassArray< ON_BezierCurve > & | curve_list | ) |
bool ON_BezierSurface::Loft | ( | int | count, |
const ON_BezierCurve *const * | curve_list ) |
bool ON_BezierSurface::MakeNonRational | ( | ) |
bool ON_BezierSurface::MakeRational | ( | ) |
bool ON_BezierSurface::Morph | ( | const ON_SpaceMorph & | morph | ) |
ON_BezierSurface & ON_BezierSurface::operator= | ( | const ON_BezierSurface & | src | ) |
ON_BezierSurface & ON_BezierSurface::operator= | ( | const ON_PolynomialSurface & | src | ) |
int ON_BezierSurface::Order | ( | int | dir | ) | const |
ON_3dPoint ON_BezierSurface::PointAt | ( | double | s, |
double | t ) const |
bool ON_BezierSurface::ReserveCVCapacity | ( | int | capacity | ) |
bool ON_BezierSurface::Reverse | ( | int | dir | ) |
bool ON_BezierSurface::Rotate | ( | double | rotation_angle, |
const ON_3dVector & | rotation_axis, | ||
const ON_3dPoint & | rotation_center ) |
bool ON_BezierSurface::Rotate | ( | double | sin_angle, |
double | cos_angle, | ||
const ON_3dVector & | rotation_axis, | ||
const ON_3dPoint & | rotation_center ) |
bool ON_BezierSurface::Scale | ( | double | scale_factor | ) |
bool ON_BezierSurface::SetCV | ( | int | i, |
int | j, | ||
const ON_3dPoint & | point ) |
bool ON_BezierSurface::SetCV | ( | int | i, |
int | j, | ||
const ON_4dPoint & | point ) |
bool ON_BezierSurface::SetCV | ( | int | i, |
int | j, | ||
ON::point_style | style, | ||
const double * | Point ) |
bool ON_BezierSurface::SetWeight | ( | int | i, |
int | j, | ||
double | w ) |
bool ON_BezierSurface::Split | ( | int | dir, |
double | t, | ||
ON_BezierSurface & | left_bez, | ||
ON_BezierSurface & | right_bez ) const |
bool ON_BezierSurface::Translate | ( | const ON_3dVector & | translation_vector | ) |
bool ON_BezierSurface::Transpose | ( | ) |
bool ON_BezierSurface::Trim | ( | int | dir, |
const ON_Interval & | domain ) |
double ON_BezierSurface::Weight | ( | int | i, |
int | j ) const |
bool ON_BezierSurface::ZeroCVs | ( | ) |
double* ON_BezierSurface::m_cv |
int ON_BezierSurface::m_cv_capacity |
int ON_BezierSurface::m_cv_stride[2] |
int ON_BezierSurface::m_dim |
int ON_BezierSurface::m_is_rat |
int ON_BezierSurface::m_order[2] |