Point Cloud Library (PCL)  1.14.1-dev
List of all members | Public Member Functions | Static Public Member Functions | Public Attributes
ON_NurbsCurve Class Reference

#include <pcl/surface/3rdparty/opennurbs/opennurbs_nurbscurve.h>

+ Inheritance diagram for ON_NurbsCurve:
+ Collaboration diagram for ON_NurbsCurve:

Public Member Functions

 ON_NurbsCurve ()
 
 ON_NurbsCurve (const ON_NurbsCurve &)
 
 ON_NurbsCurve (const ON_BezierCurve &bezier_curve)
 
 ON_NurbsCurve (int dimension, ON_BOOL32 bIsRational, int order, int cv_count)
 
unsigned int SizeOf () const
 
ON__UINT32 DataCRC (ON__UINT32 current_remainder) const
 
bool IsDuplicate (const ON_NurbsCurve &other, bool bIgnoreParameterization, double tolerance=ON_ZERO_TOLERANCE) const
 
void Initialize (void)
 
bool Create (int dimension, ON_BOOL32 bIsRational, int order, int cv_count)
 
bool CreateClampedUniformNurbs (int dimension, int order, int point_count, const ON_3dPoint *point, double knot_delta=1.0)
 
bool CreatePeriodicUniformNurbs (int dimension, int order, int point_count, const ON_3dPoint *point, double knot_delta=1.0)
 
void Destroy ()
 
virtual ~ON_NurbsCurve ()
 
void EmergencyDestroy ()
 
ON_NurbsCurveoperator= (const ON_NurbsCurve &src)
 
ON_NurbsCurveoperator= (const ON_BezierCurve &bezier_curve)
 
ON_BOOL32 IsValid (ON_TextLog *text_log=NULL) const
 
void Dump (ON_TextLog &dump) const
 
ON_BOOL32 Write (ON_BinaryArchive &binary_archive) const
 
ON_BOOL32 Read (ON_BinaryArchive &binary_archive)
 
int Dimension () const
 
ON_BOOL32 GetBBox (double *boxmin, double *boxmax, int bGrowBox=false) const
 
ON_BOOL32 Transform (const ON_Xform &xform)
 
bool IsDeformable () const
 
bool MakeDeformable ()
 
ON_BOOL32 SwapCoordinates (int i, int j)
 
ON_Interval Domain () const
 
ON_BOOL32 SetDomain (double t0, double t1)
 
ON_BOOL32 ChangeClosedCurveSeam (double t)
 
int SpanCount () const
 
ON_BOOL32 GetSpanVector (double *knot_values) const
 (m_knot[m_order-2],...,m_knot[m_cv_count-1) More...
 
int Degree () const
 
ON_BOOL32 GetParameterTolerance (double t, double *tminus, double *tplus) const
 
ON_BOOL32 IsLinear (double tolerance=ON_ZERO_TOLERANCE) const
 
int IsPolyline (ON_SimpleArray< ON_3dPoint > *pline_points=NULL, ON_SimpleArray< double > *pline_t=NULL) const
 
ON_BOOL32 IsArc (const ON_Plane *plane=NULL, ON_Arc *arc=NULL, double tolerance=ON_ZERO_TOLERANCE) const
 
ON_BOOL32 IsPlanar (ON_Plane *plane=NULL, double tolerance=ON_ZERO_TOLERANCE) const
 
ON_BOOL32 IsInPlane (const ON_Plane &test_plane, double tolerance=ON_ZERO_TOLERANCE) const
 
ON_BOOL32 IsClosed () const
 
ON_BOOL32 IsPeriodic () 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
 
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
 
ON_BOOL32 SetStartPoint (ON_3dPoint start_point)
 
ON_BOOL32 SetEndPoint (ON_3dPoint end_point)
 
ON_BOOL32 Reverse ()
 
ON_BOOL32 Evaluate (double, int, int, double *, int=0, int *=0) const
 
bool SpanIsLinear (int span_index, double min_length, double tolerance) const
 
bool SpanIsLinear (int span_index, double min_length, double tolerance, ON_Line *line) const
 
bool RepairBadKnots (double knot_tolerance=0.0, bool bRepair=true)
 
ON_BOOL32 Trim (const ON_Interval &)
 
bool Extend (const ON_Interval &domain)
 
ON_BOOL32 Split (double split_param, ON_Curve *&left_result, ON_Curve *&right_result) const
 
int GetNurbForm (ON_NurbsCurve &nurbsform, double tolerance=0.0, const ON_Interval *subdomain=NULL) const
 
int HasNurbForm () const
 
ON_BOOL32 GetCurveParameterFromNurbFormParameter (double nurbs_t, double *curve_t) const
 
ON_BOOL32 GetNurbFormParameterFromCurveParameter (double curve_t, double *nurbs_t) const
 
bool IsRational (void) const
 
int CVSize (void) const
 
int Order (void) const
 
int CVCount (void) const
 
int KnotCount (void) const
 
double * CV (int cv_index) const
 
ON::point_style CVStyle () const
 
double Weight (int) const
 
ON_BOOL32 SetWeight (int, double)
 
ON_BOOL32 SetCV (int, ON::point_style, const double *)
 
ON_BOOL32 SetCV (int, const ON_3dPoint &)
 
ON_BOOL32 SetCV (int, const ON_4dPoint &)
 
ON_BOOL32 GetCV (int, ON::point_style, double *) const
 
ON_BOOL32 GetCV (int, ON_3dPoint &) const
 
ON_BOOL32 GetCV (int, ON_4dPoint &) const
 
bool SetKnot (int knot_index, double knot_value)
 
double Knot (int knot_index) const
 
int KnotMultiplicity (int knot_index) const
 
const double * Knot () const
 
bool MakeClampedUniformKnotVector (double delta=1.0)
 
bool MakePeriodicUniformKnotVector (double delta=1.0)
 
bool IsClamped (int=2) const
 
double SuperfluousKnot (int) const
 
double GrevilleAbcissa (int) const
 
bool GetGrevilleAbcissae (double *) const
 
bool ZeroCVs ()
 
bool ClampEnd (int end)
 
bool InsertKnot (double knot_value, int knot_multiplicity)
 
bool MakeRational ()
 
bool MakeNonRational ()
 
bool IncreaseDegree (int desired_degree)
 
bool ChangeDimension (int desired_dimension)
 
bool Append (const ON_NurbsCurve &)
 
bool ReserveCVCapacity (int)
 
bool ReserveKnotCapacity (int)
 
double ControlPolygonLength () const
 
bool ConvertSpanToBezier (int, ON_BezierCurve &) const
 
bool SpanIsSingular (int span_index) const
 
bool IsSingular () const
 
bool RemoveSpan (int span_index)
 
int RemoveSingularSpans ()
 
bool HasBezierSpans () const
 
bool MakePiecewiseBezier (bool bSetEndWeightsToOne=false)
 
bool ChangeEndWeights (double w0, double w1)
 
bool Reparameterize (double c)
 
- Public Member Functions inherited from ON_Curve
void DestroyRuntimeCache (bool bDelete=true)
 
 ON_Curve ()
 
 ON_Curve (const ON_Curve &)
 
ON_Curveoperator= (const ON_Curve &)
 
virtual ~ON_Curve ()
 
bool EvaluatePoint (const class ON_ObjRef &objref, ON_3dPoint &P) const
 
virtual ON_CurveDuplicateCurve () const
 
ON::object_type ObjectType () const
 
bool GetTightBoundingBox (ON_BoundingBox &tight_bbox, int bGrowBox=false, const ON_Xform *xform=0) const
 
ON_BOOL32 GetDomain (double *t0, double *t1) const
 
bool SetDomain (ON_Interval domain)
 
virtual ON_BOOL32 GetSpanVectorIndex (double t, int side, int *span_vector_index, ON_Interval *span_domain) const
 
bool IsArcAt (double t, const ON_Plane *plane=0, ON_Arc *arc=0, double tolerance=ON_ZERO_TOLERANCE, double *t0=0, double *t1=0) const
 
virtual bool IsEllipse (const ON_Plane *plane=NULL, ON_Ellipse *ellipse=NULL, double tolerance=ON_ZERO_TOLERANCE) const
 
bool IsClosable (double tolerance, double min_abs_size=0.0, double min_rel_size=10.0) const
 
ON_3dPoint PointAt (double t) const
 
ON_3dPoint PointAtStart () const
 
ON_3dPoint PointAtEnd () const
 
ON_3dVector DerivativeAt (double t) const
 
ON_3dVector TangentAt (double t) const
 
ON_3dVector CurvatureAt (double t) const
 
ON_BOOL32 FrameAt (double t, ON_Plane &plane) const
 
ON_BOOL32 EvPoint (double t, ON_3dPoint &point, int side=0, int *hint=0) const
 
ON_BOOL32 Ev1Der (double t, ON_3dPoint &point, ON_3dVector &first_derivative, int side=0, int *hint=0) const
 
ON_BOOL32 Ev2Der (double t, ON_3dPoint &point, ON_3dVector &first_derivative, ON_3dVector &second_derivative, int side=0, int *hint=0) const
 
ON_BOOL32 EvTangent (double t, ON_3dPoint &point, ON_3dVector &tangent, int side=0, int *hint=0) const
 
ON_BOOL32 EvCurvature (double t, ON_3dPoint &point, ON_3dVector &tangent, ON_3dVector &kappa, int side=0, int *hint=0) const
 
bool FirstSpanIsLinear (double min_length, double tolerance) const
 
bool LastSpanIsLinear (double min_length, double tolerance) const
 
bool FirstSpanIsLinear (double min_length, double tolerance, ON_Line *span_line) const
 
bool LastSpanIsLinear (double min_length, double tolerance, ON_Line *span_line) const
 
ON_NurbsCurveNurbsCurve (ON_NurbsCurve *pNurbsCurve=NULL, double tolerance=0.0, const ON_Interval *subdomain=NULL) const
 
void DestroyCurveTree ()
 
- Public Member Functions inherited from ON_Geometry
 ON_Geometry ()
 
 ON_Geometry (const ON_Geometry &)
 
ON_Geometryoperator= (const ON_Geometry &)
 
virtual ~ON_Geometry ()
 
ON_BoundingBox BoundingBox () const
 
ON_BOOL32 GetBoundingBox (ON_BoundingBox &bbox, int bGrowBox=false) const
 
ON_BOOL32 GetBoundingBox (ON_3dPoint &bbox_min, ON_3dPoint &bbox_max, int bGrowBox=false) const
 
ON_BOOL32 Rotate (double sin_angle, double cos_angle, const ON_3dVector &rotation_axis, const ON_3dPoint &rotation_center)
 
ON_BOOL32 Rotate (double rotation_angle, const ON_3dVector &rotation_axis, const ON_3dPoint &rotation_center)
 
ON_BOOL32 Translate (const ON_3dVector &translation_vector)
 
ON_BOOL32 Scale (double scale_factor)
 
virtual void ClearBoundingBox ()
 
virtual ON_BOOL32 HasBrepForm () const
 
virtual ON_BrepBrepForm (ON_Brep *brep=NULL) const
 
virtual ON_COMPONENT_INDEX ComponentIndex () const
 
- Public Member Functions inherited from ON_Object
bool CopyFrom (const ON_Object *src)
 
 ON_Object ()
 
 ON_Object (const ON_Object &)
 
ON_Objectoperator= (const ON_Object &)
 
virtual ~ON_Object ()
 
void EmergencyDestroy ()
 
virtual void MemoryRelocate ()
 
ON_BOOL32 IsKindOf (const ON_ClassId *pClassId) const
 
virtual ON_UUID ModelObjectId () const
 
bool SetUserString (const wchar_t *key, const wchar_t *string_value)
 
int SetUserStrings (int count, const ON_UserString *user_strings, bool bReplace)
 
bool GetUserString (const wchar_t *key, ON_wString &string_value) const
 
int GetUserStrings (ON_ClassArray< ON_UserString > &user_strings) const
 
int GetUserStringKeys (ON_ClassArray< ON_wString > &user_string_keys) const
 
int UserStringCount () const
 
ON_BOOL32 AttachUserData (ON_UserData *pUserData)
 
ON_BOOL32 DetachUserData (ON_UserData *pUserData)
 
ON_UserDataGetUserData (const ON_UUID &userdata_uuid) const
 
void PurgeUserData ()
 
ON_UserDataFirstUserData () const
 
void TransformUserData (const ON_Xform &xform)
 
void CopyUserData (const ON_Object &source_object)
 
void MoveUserData (ON_Object &source_object)
 

Static Public Member Functions

static ON_NurbsCurveNew ()
 
static ON_NurbsCurveNew (const ON_NurbsCurve &nurbs_curve)
 
static ON_NurbsCurveNew (const ON_BezierCurve &bezier_curve)
 
static ON_NurbsCurveNew (int dimension, ON_BOOL32 bIsRational, int order, int cv_count)
 

Public Attributes

int m_dim
 
int m_is_rat
 
int m_order
 
int m_cv_count
 
int m_knot_capacity
 
double * m_knot
 
int m_cv_stride
 
int m_cv_capacity
 
double * m_cv
 

Additional Inherited Members

- Protected Member Functions inherited from ON_Curve
bool ParameterSearch (double t, int &index, bool bEnableSnap, const ON_SimpleArray< double > &m_t, double RelTol=ON_SQRT_EPSILON) const
 

Detailed Description

Definition at line 29 of file opennurbs_nurbscurve.h.

Constructor & Destructor Documentation

◆ ON_NurbsCurve() [1/4]

ON_NurbsCurve::ON_NurbsCurve ( )

◆ ON_NurbsCurve() [2/4]

ON_NurbsCurve::ON_NurbsCurve ( const ON_NurbsCurve )

◆ ON_NurbsCurve() [3/4]

ON_NurbsCurve::ON_NurbsCurve ( const ON_BezierCurve bezier_curve)

◆ ON_NurbsCurve() [4/4]

ON_NurbsCurve::ON_NurbsCurve ( int  dimension,
ON_BOOL32  bIsRational,
int  order,
int  cv_count 
)

◆ ~ON_NurbsCurve()

virtual ON_NurbsCurve::~ON_NurbsCurve ( )
virtual

Member Function Documentation

◆ Append()

bool ON_NurbsCurve::Append ( const ON_NurbsCurve )

◆ ChangeClosedCurveSeam()

ON_BOOL32 ON_NurbsCurve::ChangeClosedCurveSeam ( double  t)
virtual

Reimplemented from ON_Curve.

◆ ChangeDimension()

bool ON_NurbsCurve::ChangeDimension ( int  desired_dimension)
virtual

Reimplemented from ON_Curve.

◆ ChangeEndWeights()

bool ON_NurbsCurve::ChangeEndWeights ( double  w0,
double  w1 
)

◆ ClampEnd()

bool ON_NurbsCurve::ClampEnd ( int  end)

◆ ControlPolygonLength()

double ON_NurbsCurve::ControlPolygonLength ( ) const

◆ ConvertSpanToBezier()

bool ON_NurbsCurve::ConvertSpanToBezier ( int  ,
ON_BezierCurve  
) const

◆ Create()

bool ON_NurbsCurve::Create ( int  dimension,
ON_BOOL32  bIsRational,
int  order,
int  cv_count 
)

◆ CreateClampedUniformNurbs()

bool ON_NurbsCurve::CreateClampedUniformNurbs ( int  dimension,
int  order,
int  point_count,
const ON_3dPoint point,
double  knot_delta = 1.0 
)

◆ CreatePeriodicUniformNurbs()

bool ON_NurbsCurve::CreatePeriodicUniformNurbs ( int  dimension,
int  order,
int  point_count,
const ON_3dPoint point,
double  knot_delta = 1.0 
)

◆ CV()

double* ON_NurbsCurve::CV ( int  cv_index) const

◆ CVCount()

int ON_NurbsCurve::CVCount ( void  ) const

◆ CVSize()

int ON_NurbsCurve::CVSize ( void  ) const

◆ CVStyle()

ON::point_style ON_NurbsCurve::CVStyle ( ) const

◆ DataCRC()

ON__UINT32 ON_NurbsCurve::DataCRC ( ON__UINT32  current_remainder) const
virtual

Reimplemented from ON_Object.

◆ Degree()

int ON_NurbsCurve::Degree ( ) const
virtual

Implements ON_Curve.

◆ Destroy()

void ON_NurbsCurve::Destroy ( )

◆ Dimension()

int ON_NurbsCurve::Dimension ( ) const
virtual

Implements ON_Geometry.

◆ Domain()

ON_Interval ON_NurbsCurve::Domain ( ) const
virtual

Implements ON_Curve.

◆ Dump()

void ON_NurbsCurve::Dump ( ON_TextLog dump) const
virtual

Reimplemented from ON_Object.

◆ EmergencyDestroy()

void ON_NurbsCurve::EmergencyDestroy ( )

◆ Evaluate()

ON_BOOL32 ON_NurbsCurve::Evaluate ( double  ,
int  ,
int  ,
double *  ,
int  = 0,
int *  = 0 
) const
virtual

Implements ON_Curve.

◆ Extend()

bool ON_NurbsCurve::Extend ( const ON_Interval domain)
virtual

Reimplemented from ON_Curve.

◆ GetBBox()

ON_BOOL32 ON_NurbsCurve::GetBBox ( double *  boxmin,
double *  boxmax,
int  bGrowBox = false 
) const
virtual

Implements ON_Geometry.

◆ GetCurveParameterFromNurbFormParameter()

ON_BOOL32 ON_NurbsCurve::GetCurveParameterFromNurbFormParameter ( double  nurbs_t,
double *  curve_t 
) const
virtual

Reimplemented from ON_Curve.

◆ GetCV() [1/3]

ON_BOOL32 ON_NurbsCurve::GetCV ( int  ,
ON::point_style  ,
double *   
) const

◆ GetCV() [2/3]

ON_BOOL32 ON_NurbsCurve::GetCV ( int  ,
ON_3dPoint  
) const

◆ GetCV() [3/3]

ON_BOOL32 ON_NurbsCurve::GetCV ( int  ,
ON_4dPoint  
) const

◆ GetGrevilleAbcissae()

bool ON_NurbsCurve::GetGrevilleAbcissae ( double *  ) const

◆ GetNextDiscontinuity()

bool ON_NurbsCurve::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.

◆ GetNurbForm()

int ON_NurbsCurve::GetNurbForm ( ON_NurbsCurve nurbsform,
double  tolerance = 0.0,
const ON_Interval subdomain = NULL 
) const
virtual

Reimplemented from ON_Curve.

◆ GetNurbFormParameterFromCurveParameter()

ON_BOOL32 ON_NurbsCurve::GetNurbFormParameterFromCurveParameter ( double  curve_t,
double *  nurbs_t 
) const
virtual

Reimplemented from ON_Curve.

◆ GetParameterTolerance()

ON_BOOL32 ON_NurbsCurve::GetParameterTolerance ( double  t,
double *  tminus,
double *  tplus 
) const
virtual

Reimplemented from ON_Curve.

◆ GetSpanVector()

ON_BOOL32 ON_NurbsCurve::GetSpanVector ( double *  knot_values) const
virtual

(m_knot[m_order-2],...,m_knot[m_cv_count-1)

Implements ON_Curve.

◆ GrevilleAbcissa()

double ON_NurbsCurve::GrevilleAbcissa ( int  ) const

◆ HasBezierSpans()

bool ON_NurbsCurve::HasBezierSpans ( ) const

◆ HasNurbForm()

int ON_NurbsCurve::HasNurbForm ( ) const
virtual

Reimplemented from ON_Curve.

◆ IncreaseDegree()

bool ON_NurbsCurve::IncreaseDegree ( int  desired_degree)

◆ Initialize()

void ON_NurbsCurve::Initialize ( void  )

◆ InsertKnot()

bool ON_NurbsCurve::InsertKnot ( double  knot_value,
int  knot_multiplicity 
)

◆ IsArc()

ON_BOOL32 ON_NurbsCurve::IsArc ( const ON_Plane plane = NULL,
ON_Arc arc = NULL,
double  tolerance = ON_ZERO_TOLERANCE 
) const
virtual

Reimplemented from ON_Curve.

◆ IsClamped()

bool ON_NurbsCurve::IsClamped ( int  = 2) const

◆ IsClosed()

ON_BOOL32 ON_NurbsCurve::IsClosed ( ) const
virtual

Reimplemented from ON_Curve.

◆ IsContinuous()

bool ON_NurbsCurve::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.

◆ IsDeformable()

bool ON_NurbsCurve::IsDeformable ( ) const
virtual

Reimplemented from ON_Geometry.

◆ IsDuplicate()

bool ON_NurbsCurve::IsDuplicate ( const ON_NurbsCurve other,
bool  bIgnoreParameterization,
double  tolerance = ON_ZERO_TOLERANCE 
) const

◆ IsInPlane()

ON_BOOL32 ON_NurbsCurve::IsInPlane ( const ON_Plane test_plane,
double  tolerance = ON_ZERO_TOLERANCE 
) const
virtual

Implements ON_Curve.

◆ IsLinear()

ON_BOOL32 ON_NurbsCurve::IsLinear ( double  tolerance = ON_ZERO_TOLERANCE) const
virtual

Reimplemented from ON_Curve.

◆ IsPeriodic()

ON_BOOL32 ON_NurbsCurve::IsPeriodic ( ) const
virtual

Reimplemented from ON_Curve.

◆ IsPlanar()

ON_BOOL32 ON_NurbsCurve::IsPlanar ( ON_Plane plane = NULL,
double  tolerance = ON_ZERO_TOLERANCE 
) const
virtual

Reimplemented from ON_Curve.

◆ IsPolyline()

int ON_NurbsCurve::IsPolyline ( ON_SimpleArray< ON_3dPoint > *  pline_points = NULL,
ON_SimpleArray< double > *  pline_t = NULL 
) const
virtual

Reimplemented from ON_Curve.

◆ IsRational()

bool ON_NurbsCurve::IsRational ( void  ) const

◆ IsSingular()

bool ON_NurbsCurve::IsSingular ( ) const

◆ IsValid()

ON_BOOL32 ON_NurbsCurve::IsValid ( ON_TextLog text_log = NULL) const
virtual

Implements ON_Object.

◆ Knot() [1/2]

const double* ON_NurbsCurve::Knot ( ) const

◆ Knot() [2/2]

double ON_NurbsCurve::Knot ( int  knot_index) const

◆ KnotCount()

int ON_NurbsCurve::KnotCount ( void  ) const

◆ KnotMultiplicity()

int ON_NurbsCurve::KnotMultiplicity ( int  knot_index) const

◆ MakeClampedUniformKnotVector()

bool ON_NurbsCurve::MakeClampedUniformKnotVector ( double  delta = 1.0)

◆ MakeDeformable()

bool ON_NurbsCurve::MakeDeformable ( )
virtual

Reimplemented from ON_Geometry.

◆ MakeNonRational()

bool ON_NurbsCurve::MakeNonRational ( )

◆ MakePeriodicUniformKnotVector()

bool ON_NurbsCurve::MakePeriodicUniformKnotVector ( double  delta = 1.0)

◆ MakePiecewiseBezier()

bool ON_NurbsCurve::MakePiecewiseBezier ( bool  bSetEndWeightsToOne = false)

◆ MakeRational()

bool ON_NurbsCurve::MakeRational ( )

◆ New() [1/4]

static ON_NurbsCurve* ON_NurbsCurve::New ( )
static

◆ New() [2/4]

static ON_NurbsCurve* ON_NurbsCurve::New ( const ON_BezierCurve bezier_curve)
static

◆ New() [3/4]

static ON_NurbsCurve* ON_NurbsCurve::New ( const ON_NurbsCurve nurbs_curve)
static

◆ New() [4/4]

static ON_NurbsCurve* ON_NurbsCurve::New ( int  dimension,
ON_BOOL32  bIsRational,
int  order,
int  cv_count 
)
static

◆ operator=() [1/2]

ON_NurbsCurve& ON_NurbsCurve::operator= ( const ON_BezierCurve bezier_curve)

◆ operator=() [2/2]

ON_NurbsCurve& ON_NurbsCurve::operator= ( const ON_NurbsCurve src)

◆ Order()

int ON_NurbsCurve::Order ( void  ) const

◆ Read()

ON_BOOL32 ON_NurbsCurve::Read ( ON_BinaryArchive binary_archive)
virtual

Reimplemented from ON_Object.

◆ RemoveSingularSpans()

int ON_NurbsCurve::RemoveSingularSpans ( )

◆ RemoveSpan()

bool ON_NurbsCurve::RemoveSpan ( int  span_index)

◆ RepairBadKnots()

bool ON_NurbsCurve::RepairBadKnots ( double  knot_tolerance = 0.0,
bool  bRepair = true 
)

◆ Reparameterize()

bool ON_NurbsCurve::Reparameterize ( double  c)

◆ ReserveCVCapacity()

bool ON_NurbsCurve::ReserveCVCapacity ( int  )

◆ ReserveKnotCapacity()

bool ON_NurbsCurve::ReserveKnotCapacity ( int  )

◆ Reverse()

ON_BOOL32 ON_NurbsCurve::Reverse ( )
virtual

Implements ON_Curve.

◆ SetCV() [1/3]

ON_BOOL32 ON_NurbsCurve::SetCV ( int  ,
const ON_3dPoint  
)

◆ SetCV() [2/3]

ON_BOOL32 ON_NurbsCurve::SetCV ( int  ,
const ON_4dPoint  
)

◆ SetCV() [3/3]

ON_BOOL32 ON_NurbsCurve::SetCV ( int  ,
ON::point_style  ,
const double *   
)

◆ SetDomain()

ON_BOOL32 ON_NurbsCurve::SetDomain ( double  t0,
double  t1 
)
virtual

Reimplemented from ON_Curve.

◆ SetEndPoint()

ON_BOOL32 ON_NurbsCurve::SetEndPoint ( ON_3dPoint  end_point)
virtual

Reimplemented from ON_Curve.

◆ SetKnot()

bool ON_NurbsCurve::SetKnot ( int  knot_index,
double  knot_value 
)

◆ SetStartPoint()

ON_BOOL32 ON_NurbsCurve::SetStartPoint ( ON_3dPoint  start_point)
virtual

Reimplemented from ON_Curve.

◆ SetWeight()

ON_BOOL32 ON_NurbsCurve::SetWeight ( int  ,
double   
)

◆ SizeOf()

unsigned int ON_NurbsCurve::SizeOf ( ) const
virtual

Reimplemented from ON_Curve.

◆ SpanCount()

int ON_NurbsCurve::SpanCount ( ) const
virtual

Implements ON_Curve.

◆ SpanIsLinear() [1/2]

bool ON_NurbsCurve::SpanIsLinear ( int  span_index,
double  min_length,
double  tolerance 
) const

◆ SpanIsLinear() [2/2]

bool ON_NurbsCurve::SpanIsLinear ( int  span_index,
double  min_length,
double  tolerance,
ON_Line line 
) const

◆ SpanIsSingular()

bool ON_NurbsCurve::SpanIsSingular ( int  span_index) const

◆ Split()

ON_BOOL32 ON_NurbsCurve::Split ( double  split_param,
ON_Curve *&  left_result,
ON_Curve *&  right_result 
) const
virtual

Reimplemented from ON_Curve.

◆ SuperfluousKnot()

double ON_NurbsCurve::SuperfluousKnot ( int  ) const

◆ SwapCoordinates()

ON_BOOL32 ON_NurbsCurve::SwapCoordinates ( int  i,
int  j 
)
virtual

Reimplemented from ON_Geometry.

◆ Transform()

ON_BOOL32 ON_NurbsCurve::Transform ( const ON_Xform xform)
virtual

Reimplemented from ON_Geometry.

◆ Trim()

ON_BOOL32 ON_NurbsCurve::Trim ( const ON_Interval )
virtual

Reimplemented from ON_Curve.

◆ Weight()

double ON_NurbsCurve::Weight ( int  ) const

◆ Write()

ON_BOOL32 ON_NurbsCurve::Write ( ON_BinaryArchive binary_archive) const
virtual

Reimplemented from ON_Object.

◆ ZeroCVs()

bool ON_NurbsCurve::ZeroCVs ( )

Member Data Documentation

◆ m_cv

double* ON_NurbsCurve::m_cv

Definition at line 1155 of file opennurbs_nurbscurve.h.

◆ m_cv_capacity

int ON_NurbsCurve::m_cv_capacity

Definition at line 1146 of file opennurbs_nurbscurve.h.

◆ m_cv_count

int ON_NurbsCurve::m_cv_count

Definition at line 1123 of file opennurbs_nurbscurve.h.

◆ m_cv_stride

int ON_NurbsCurve::m_cv_stride

Definition at line 1143 of file opennurbs_nurbscurve.h.

◆ m_dim

int ON_NurbsCurve::m_dim

Definition at line 1114 of file opennurbs_nurbscurve.h.

◆ m_is_rat

int ON_NurbsCurve::m_is_rat

Definition at line 1116 of file opennurbs_nurbscurve.h.

◆ m_knot

double* ON_NurbsCurve::m_knot

Definition at line 1138 of file opennurbs_nurbscurve.h.

◆ m_knot_capacity

int ON_NurbsCurve::m_knot_capacity

Definition at line 1127 of file opennurbs_nurbscurve.h.

◆ m_order

int ON_NurbsCurve::m_order

Definition at line 1121 of file opennurbs_nurbscurve.h.


The documentation for this class was generated from the following file: