NURBSMath.h File Reference

Classes

struct  KnotInfo
 
class  BaseNURBSCurve
 

Namespaces

 maxon
 

Enumerations

enum  NURBSCURVE_KNOTMODE {
  CLAMPED_UNIFORM,
  CLAMPED_CHORDAL,
  CLAMPED_CENTRIPETAL,
  UNCLAMPED_UNIFORM
}
 

Functions

enum maxon::NURBSCURVE_KNOTMODE MAXON_ENUM_LIST (NURBSCURVE_KNOTMODE)
 

Variables

 CLAMPED_UNIFORM
 
 CLAMPED_CHORDAL
 
 CLAMPED_CENTRIPETAL
 
 UNCLAMPED_UNIFORM
 

Variable Documentation

◆ CLAMPED_UNIFORM

CLAMPED_UNIFORM

Clamped uniform (open uniform / quasi uniform) NURBS/B-Spline/Bezier knot vector with end knots of multiplicity of degree. Internal knots are uniform e.g. [0, 0, 0, 1/3, 2/3, 1, 1, 1]. If there are no internal knots then the spline is equal to a bezier spline of same degree e.g. [0, 0, 0, 0, 1, 1, 1, 1].

◆ CLAMPED_CHORDAL

CLAMPED_CHORDAL

Clamped nonuniform knot vector whose inner knots are computed according to the actual position of control points in space according to the chord length method. Works only correct if SetPoints has been called before since the routines needs to compute the point distances.

◆ CLAMPED_CENTRIPETAL

CLAMPED_CENTRIPETAL

Clamped nonuniform knot vector whose inner knots are computed according to the actual position of control points in space according to the centripetal method.Works only correct if SetPoints has been called before since the routines needs to compute the point distances.

◆ UNCLAMPED_UNIFORM

UNCLAMPED_UNIFORM

uniform knot vector e.g. [0.0, 0.25, 0.5, 0.75, 1.0]. Mostly useful for periodic (closed) splines