QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
opennurbs_nurbscurve.cpp File Reference
#include "opennurbs.h"

Functions

static ON_BOOL32 GetRaisedDegreeCV (int old_order, int cvdim, int old_cvstride, const double *oldCV, const double *oldkn, const double *newkn, int cv_id, double *newCV)
 
static ON_BOOL32 IncrementNurbDegree (ON_NurbsCurve &N)
 
bool ON_ChangeRationalNurbsCurveEndWeights (int dim, int order, int cv_count, int cvstride, double *cv, double *knot, double w0, double w1)
 
bool ON_IsCurvatureDiscontinuity (const ON_3dVector Km, const ON_3dVector Kp, double cos_angle_tolerance, double curvature_tolerance, double zero_curvature, double radius_tolerance)
 
static bool ON_IsDuplicateKnotVector (int order, int cv_count, const double *knot, const double *other_knot, bool bIgnoreParameterization)
 
static bool ON_IsDuplicatePointList (int dim, int is_rat, int count, int stride, const double *cv, int other_stride, const double *other_cv, double tolerance)
 
static void ON_NurbsCurveCopyHelper (const ON_NurbsCurve &src, ON_NurbsCurve &dest)
 
 ON_OBJECT_IMPLEMENT (ON_NurbsCurve, ON_Curve,"4ED7D4DD-E947-11d3-BFE5-0010830122F0")
 
bool ON_ReparameterizeRationalNurbsCurve (double c, int dim, int order, int cv_count, int cvstride, double *cv, double *knot)
 
static ON_BOOL32 TweakSplitTrimParameter (double k0, double k1, double &t)
 

Function Documentation

◆ GetRaisedDegreeCV()

static ON_BOOL32 GetRaisedDegreeCV ( int old_order,
int cvdim,
int old_cvstride,
const double * oldCV,
const double * oldkn,
const double * newkn,
int cv_id,
double * newCV )
static

◆ IncrementNurbDegree()

static ON_BOOL32 IncrementNurbDegree ( ON_NurbsCurve & N)
static

◆ ON_ChangeRationalNurbsCurveEndWeights()

bool ON_ChangeRationalNurbsCurveEndWeights ( int dim,
int order,
int cv_count,
int cvstride,
double * cv,
double * knot,
double w0,
double w1 )

◆ ON_IsCurvatureDiscontinuity()

bool ON_IsCurvatureDiscontinuity ( const ON_3dVector Km,
const ON_3dVector Kp,
double cos_angle_tolerance,
double curvature_tolerance,
double zero_curvature,
double radius_tolerance )

◆ ON_IsDuplicateKnotVector()

static bool ON_IsDuplicateKnotVector ( int order,
int cv_count,
const double * knot,
const double * other_knot,
bool bIgnoreParameterization )
static

◆ ON_IsDuplicatePointList()

static bool ON_IsDuplicatePointList ( int dim,
int is_rat,
int count,
int stride,
const double * cv,
int other_stride,
const double * other_cv,
double tolerance )
static

◆ ON_NurbsCurveCopyHelper()

static void ON_NurbsCurveCopyHelper ( const ON_NurbsCurve & src,
ON_NurbsCurve & dest )
static

◆ ON_OBJECT_IMPLEMENT()

ON_OBJECT_IMPLEMENT ( ON_NurbsCurve ,
ON_Curve ,
"4ED7D4DD-E947-11d3-BFE5-0010830122F0"  )

◆ ON_ReparameterizeRationalNurbsCurve()

bool ON_ReparameterizeRationalNurbsCurve ( double c,
int dim,
int order,
int cv_count,
int cvstride,
double * cv,
double * knot )

◆ TweakSplitTrimParameter()

static ON_BOOL32 TweakSplitTrimParameter ( double k0,
double k1,
double & t )
static