NURBSCurve Class Reference

#include <NURBSCurve.h>

Inheritance diagram for NURBSCurve:

公共成员函数

Result < void >  Init ( Int points, Int degree, NURBSCURVE_CONTINUITY continuity)
void  SetContinuity ( NURBSCURVE_CONTINUITY continuity)
Result < 向量 EvaluateAt ( Float s)
Result < 向量 EvaluateAt ( Float u, Int span)
Result < 向量 DeriveAt ( Float s)
Result < 向量 DeriveAt ( Float u, Int span)
-  Public Member Functions inherited from BaseNURBSCurve
Result < void >  Init ( Int pcnt, Int degree)
void  重置 ()
Result < void >  ChangeDegree ( Int newDegree, NURBSCURVE_KNOTMODE knotMode= NURBSCURVE_KNOTMODE::CLAMPED_UNIFORM )
Result < 向量 EvaluateAt ( Float s)
Result < 向量 EvaluateAt ( Float u, Int span)
Result < 向量 DeriveAt ( Float s)
Result < 向量 DeriveAt ( Float u, Int span)
Result < Int GetDegree ()
Result < Int GetMaxDegree ()
Result < Int GetPointCount ()
Result < Int GetWeightCount ()
Result < Int GetKnotCount ()
Result < KnotInfo GetKnotInfo ( Int i)
Result < 向量 GetPoint ( Int i)
Result < Float GetWeight ( Int i)
Result < Float GetKnot ( Int i)
Result < void >  SetPoint ( Int i, const 向量 &point)
Result < void >  SetPoints (const BaseArray < 向量 > &points)
Result < void >  SetWeight ( Int i, Float weight)
Result < void >  SetWeights (const BaseArray < Float > &weights)
Result < void >  SetKnot ( Int i, Float knot)
Result < void >  SetKnots ( NURBSCURVE_KNOTMODE mode)
Result < void >  SetKnots (const BaseArray < Float > &knots)
Result < void >  InsertKnot ( Float s, Int nTimes)
Result < void >  InsertKnot ( Float u, Int span, Int nTimes)
Float   GetUmin ()
Float   GetUmax ()
Result < Int FindSpan ( Float u)
Float   MapStoU ( Float s)
Float   MapUtoS ( Float u)

私有成员函数

Result < void >  _DirtDevil ()

Private Attributes

NURBSCURVE_CONTINUITY   _continuity
BaseNURBSCurve   _curve

Additional Inherited Members

-  Protected Member Functions inherited from BaseNURBSCurve
Result < void >  _CheckForKnotConsistency ()
Result < void >  _InitKnots ( NURBSCURVE_KNOTMODE mode)
Result < void >  _ComputeBasisFunctions ( Float u, Int span, Int maxDegree)
Result < Vector4d _ComputeHomogeneousC ( Float u, Int span, Int degree)
-  Protected Attributes inherited from BaseNURBSCurve
Int   _curveDegree
BaseArray < Vector4d _points
BaseArray < Float _knots
Bool   _dirty
Bool   _memInit

成员函数文档编制

◆  Init()

Result <void> Init ( Int   points ,
Int   degree ,
NURBSCURVE_CONTINUITY   continuity  
)

◆  SetContinuity()

void SetContinuity ( NURBSCURVE_CONTINUITY   continuity )

◆  EvaluateAt() [1/2]

Result < 向量 > EvaluateAt ( Float   s )

◆  EvaluateAt() [2/2]

Result < 向量 > EvaluateAt ( Float   u ,
Int   span  
)

◆  DeriveAt() [1/2]

Result < 向量 > DeriveAt ( Float   s )

◆  DeriveAt() [2/2]

Result < 向量 > DeriveAt ( Float   u ,
Int   span  
)

◆  _DirtDevil()

Result <void> _DirtDevil ( )
private

Member Data Documentation

◆  _continuity

NURBSCURVE_CONTINUITY _continuity
private

◆  _curve

BaseNURBSCurve _curve
private