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

Functions

bool ON_ClampKnotVector (int cv_dim, int order, int cv_count, int cv_stride, double *cv, double *knot, int end)
 
bool ON_ClampKnotVector (int order, int cv_count, double *knot, int end)
 
int ON_CompareKnotVector (int orderA, int cv_countA, const double *knotA, int orderB, int cv_countB, const double *knotB)
 
double ON_DomainTolerance (double a, double b)
 
bool ON_GetGrevilleAbcissae (int order, int cv_count, const double *knot, bool bPeriodic, double *g)
 
bool ON_GetGrevilleKnotVector (int g_stride, const double *g, bool bPeriodic, int order, int cv_count, double *knot)
 
bool ON_GetKnotVectorDomain (int order, int cv_count, const double *knot, double *k0, double *k1)
 
bool ON_GetKnotVectorSpanVector (int order, int cv_count, const double *knot, double *s)
 
int ON_GetSpanIndices (int order, int cv_count, const double *knot, int *span_indices)
 
double ON_GrevilleAbcissa (int order, const double *knot)
 
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)
 
static bool ON_InsertSingleKnot (int cv_dim, int order, int cv_stride, double *cv, double *knot, double knot_value)
 
bool ON_IsKnotVectorClamped (int order, int cv_count, const double *knot, int end)
 
bool ON_IsKnotVectorPeriodic (int order, int cv_count, const double *knot)
 
bool ON_IsKnotVectorUniform (int order, int cv_count, const double *knot)
 
bool ON_IsValidKnotVector (int order, int cv_count, const double *knot, ON_TextLog *text_log)
 
int ON_KnotCount (int order, int cv_count)
 
int ON_KnotMultiplicity (int order, int cv_count, const double *knot, int knot_index)
 
double ON_KnotTolerance (int order, int cv_count, const double *knot, int knot_index)
 
bool ON_KnotVectorHasBezierSpans (int order, int cv_count, const double *knot)
 
int ON_KnotVectorSpanCount (int order, int cv_count, const double *knot)
 
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)
 
bool ON_MakeKnotVectorPeriodic (int order, int cv_count, double *knot)
 
ON_DECL bool ON_MakePeriodicUniformKnotVector (int order, int cv_count, double *knot, double delta)
 
int ON_NextNurbsSpanIndex (int order, int cv_count, const double *knot, int span_index)
 
int ON_NurbsSpanIndex (int order, int cv_count, const double *knot, double t, int side, int hint)
 
bool ON_ReverseKnotVector (int order, int cv_count, double *knot)
 
bool ON_SetKnotVectorDomain (int order, int cv_count, double *knot, double t0, double t1)
 
double ON_SpanTolerance (int order, int cv_count, const double *knot, int span_index)
 
double ON_SuperfluousKnot (int order, int cv_count, const double *knot, int end)
 

Function Documentation

◆ ON_ClampKnotVector() [1/2]

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

◆ ON_ClampKnotVector() [2/2]

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

◆ ON_CompareKnotVector()

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

◆ ON_DomainTolerance()

double ON_DomainTolerance ( double a,
double b )

◆ ON_GetGrevilleAbcissae()

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

◆ ON_GetGrevilleKnotVector()

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

◆ ON_GetKnotVectorDomain()

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

◆ ON_GetKnotVectorSpanVector()

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

◆ ON_GetSpanIndices()

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

◆ ON_GrevilleAbcissa()

double ON_GrevilleAbcissa ( int order,
const double * knot )

◆ ON_InsertKnot()

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_InsertSingleKnot()

static bool ON_InsertSingleKnot ( int cv_dim,
int order,
int cv_stride,
double * cv,
double * knot,
double knot_value )
static

◆ ON_IsKnotVectorClamped()

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

◆ ON_IsKnotVectorPeriodic()

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

◆ ON_IsKnotVectorUniform()

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

◆ ON_IsValidKnotVector()

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

◆ ON_KnotCount()

int ON_KnotCount ( int order,
int cv_count )

◆ ON_KnotMultiplicity()

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

◆ ON_KnotTolerance()

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

◆ ON_KnotVectorHasBezierSpans()

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

◆ ON_KnotVectorSpanCount()

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

◆ ON_KnotVectorStyle()

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 )

◆ ON_MakeKnotVectorPeriodic()

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 )

◆ ON_NextNurbsSpanIndex()

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

◆ ON_NurbsSpanIndex()

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

◆ ON_ReverseKnotVector()

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

◆ ON_SetKnotVectorDomain()

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

◆ ON_SpanTolerance()

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

◆ ON_SuperfluousKnot()

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