QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
opennurbs_knot.h File Reference

Go to the source code of this file.

Functions

bool ON_ChangeRationalBezierCurveWeights (int dim, int order, int cvstride, double *cv, int i0, double w0, int i1, double w1)
 
ON_DECL bool ON_ChangeRationalNurbsCurveEndWeights (int dim, int order, int cv_count, int cvstride, double *cv, double *knot, double w0, double w1)
 
ON_DECL bool ON_ClampKnotVector (int, int, double *, int)
 
ON_DECL bool ON_ClampKnotVector (int, int, int, int, double *, double *, int)
 
ON_DECL int ON_CompareKnotVector (int, int, const double *, int, int, const double *)
 
ON_DECL double ON_DomainTolerance (double, double)
 
ON_DECL bool ON_GetGrevilleAbcissae (int, int, const double *, bool, double *)
 
ON_DECL bool ON_GetGrevilleKnotVector (int, const double *, bool, int, int, double *)
 
ON_DECL bool ON_GetKnotVectorDomain (int, int, const double *, double *, double *)
 
ON_DECL bool ON_GetKnotVectorSpanVector (int, int, const double *, double *)
 
ON_DECL int ON_GetSpanIndices (int order, int cv_count, const double *knot, int *)
 
ON_DECL double ON_GrevilleAbcissa (int, const double *)
 
ON_DECL int ON_InsertKnot (double, int, int, int, int, int, double *, double *, int *)
 
ON_DECL bool ON_IsKnotVectorClamped (int order, int cv_count, const double *knot, int=2)
 
ON_DECL bool ON_IsKnotVectorPeriodic (int order, int cv_count, const double *knot)
 
ON_DECL bool ON_IsKnotVectorUniform (int order, int cv_count, const double *knot)
 
ON_DECL bool ON_IsValidKnotVector (int, int, const double *, ON_TextLog *text_log=NULL)
 
ON_DECL int ON_KnotCount (int, int)
 
ON_DECL int ON_KnotMultiplicity (int, int, const double *, int)
 
ON_DECL double ON_KnotTolerance (int, int, const double *, int)
 
ON_DECL bool ON_KnotVectorHasBezierSpans (int order, int cv_count, const double *knot)
 
ON_DECL int ON_KnotVectorSpanCount (int, int, const double *)
 
ON_DECL ON::knot_style ON_KnotVectorStyle (int order, int cv_count, const double *knot)
 
ON_DECL bool ON_MakeClampedUniformKnotVector (int order, int cv_count, double *knot, double delta=1.0)
 
ON_DECL bool ON_MakeKnotVectorPeriodic (int, int, double *)
 
ON_DECL bool ON_MakePeriodicUniformKnotVector (int order, int cv_count, double *knot, double delta=1.0)
 
ON_DECL int ON_NextNurbsSpanIndex (int order, int cv_count, const double *knot, int)
 
ON_DECL int ON_NurbsSpanIndex (int order, int cv_count, const double *knot, double t, int side, int hint)
 
bool ON_ReparameterizeRationalBezierCurve (double c, int dim, int order, int cvstride, double *cv)
 
ON_DECL bool ON_ReparameterizeRationalNurbsCurve (double c, int dim, int order, int cv_count, int cvstride, double *cv, double *knot)
 
ON_DECL bool ON_ReverseKnotVector (int, int, double *)
 
ON_DECL bool ON_SetKnotVectorDomain (int order, int cv_count, double *knot, double t0, double t1)
 
ON_DECL double ON_SpanTolerance (int, int, const double *, int)
 
ON_DECL double ON_SuperfluousKnot (int order, int cv_count, const double *knot, int)
 

Function Documentation

◆ ON_ChangeRationalBezierCurveWeights()

bool ON_ChangeRationalBezierCurveWeights ( int dim,
int order,
int cvstride,
double * cv,
int i0,
double w0,
int i1,
double w1 )

◆ ON_ChangeRationalNurbsCurveEndWeights()

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

◆ ON_ClampKnotVector() [1/2]

ON_DECL bool ON_ClampKnotVector ( int order,
int cv_count,
double * knot,
int end )

◆ ON_ClampKnotVector() [2/2]

ON_DECL bool ON_ClampKnotVector ( int cv_dim,
int order,
int cv_count,
int cv_stride,
double * cv,
double * knot,
int end )

◆ ON_CompareKnotVector()

ON_DECL int ON_CompareKnotVector ( int orderA,
int cv_countA,
const double * knotA,
int orderB,
int cv_countB,
const double * knotB )

◆ ON_DomainTolerance()

ON_DECL double ON_DomainTolerance ( double a,
double b )

◆ ON_GetGrevilleAbcissae()

ON_DECL bool ON_GetGrevilleAbcissae ( int order,
int cv_count,
const double * knot,
bool bPeriodic,
double * g )

◆ ON_GetGrevilleKnotVector()

ON_DECL bool ON_GetGrevilleKnotVector ( int g_stride,
const double * g,
bool bPeriodic,
int order,
int cv_count,
double * knot )

◆ ON_GetKnotVectorDomain()

ON_DECL bool ON_GetKnotVectorDomain ( int order,
int cv_count,
const double * knot,
double * k0,
double * k1 )

◆ ON_GetKnotVectorSpanVector()

ON_DECL bool ON_GetKnotVectorSpanVector ( int order,
int cv_count,
const double * knot,
double * s )

◆ ON_GetSpanIndices()

ON_DECL int ON_GetSpanIndices ( int order,
int cv_count,
const double * knot,
int * span_indices )

◆ ON_GrevilleAbcissa()

ON_DECL double ON_GrevilleAbcissa ( int order,
const double * knot )

◆ ON_InsertKnot()

ON_DECL int ON_InsertKnot ( double knot_value,
int knot_multiplicity,
int cv_dim,
int order,
int cv_count,
int cv_stride,
double * cv,
double * knot,
int * hint )

◆ ON_IsKnotVectorClamped()

ON_DECL bool ON_IsKnotVectorClamped ( int order,
int cv_count,
const double * knot,
int end = 2 )

◆ ON_IsKnotVectorPeriodic()

ON_DECL bool ON_IsKnotVectorPeriodic ( int order,
int cv_count,
const double * knot )

◆ ON_IsKnotVectorUniform()

ON_DECL bool ON_IsKnotVectorUniform ( int order,
int cv_count,
const double * knot )

◆ ON_IsValidKnotVector()

ON_DECL bool ON_IsValidKnotVector ( int order,
int cv_count,
const double * knot,
ON_TextLog * text_log = NULL )

◆ ON_KnotCount()

ON_DECL int ON_KnotCount ( int order,
int cv_count )

◆ ON_KnotMultiplicity()

ON_DECL int ON_KnotMultiplicity ( int order,
int cv_count,
const double * knot,
int knot_index )

◆ ON_KnotTolerance()

ON_DECL double ON_KnotTolerance ( int order,
int cv_count,
const double * knot,
int knot_index )

◆ ON_KnotVectorHasBezierSpans()

ON_DECL bool ON_KnotVectorHasBezierSpans ( int order,
int cv_count,
const double * knot )

◆ ON_KnotVectorSpanCount()

ON_DECL int ON_KnotVectorSpanCount ( int order,
int cv_count,
const double * knot )

◆ ON_KnotVectorStyle()

ON_DECL ON::knot_style ON_KnotVectorStyle ( int order,
int cv_count,
const double * knot )

◆ ON_MakeClampedUniformKnotVector()

ON_DECL bool ON_MakeClampedUniformKnotVector ( int order,
int cv_count,
double * knot,
double delta = 1.0 )

◆ ON_MakeKnotVectorPeriodic()

ON_DECL bool ON_MakeKnotVectorPeriodic ( int order,
int cv_count,
double * knot )

◆ ON_MakePeriodicUniformKnotVector()

ON_DECL bool ON_MakePeriodicUniformKnotVector ( int order,
int cv_count,
double * knot,
double delta = 1.0 )

◆ ON_NextNurbsSpanIndex()

ON_DECL int ON_NextNurbsSpanIndex ( int order,
int cv_count,
const double * knot,
int span_index )

◆ ON_NurbsSpanIndex()

ON_DECL int ON_NurbsSpanIndex ( int order,
int cv_count,
const double * knot,
double t,
int side,
int hint )

◆ ON_ReparameterizeRationalBezierCurve()

bool ON_ReparameterizeRationalBezierCurve ( double c,
int dim,
int order,
int cvstride,
double * cv )

◆ ON_ReparameterizeRationalNurbsCurve()

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

◆ ON_ReverseKnotVector()

ON_DECL bool ON_ReverseKnotVector ( int order,
int cv_count,
double * knot )

◆ ON_SetKnotVectorDomain()

ON_DECL bool ON_SetKnotVectorDomain ( int order,
int cv_count,
double * knot,
double t0,
double t1 )

◆ ON_SpanTolerance()

ON_DECL double ON_SpanTolerance ( int order,
int cv_count,
const double * knot,
int span_index )

◆ ON_SuperfluousKnot()

ON_DECL double ON_SuperfluousKnot ( int order,
int cv_count,
const double * knot,
int end )