Class BSplineBasis
Namespace: g3
Assembly: cs.temp.dll.dll
Syntax
public class BSplineBasis
Constructors
BSplineBasis()
Declaration
BSplineBasis(Int32, Int32, Boolean)
Declaration
public BSplineBasis(int numCtrlPoints, int degree, bool open)
Parameters
BSplineBasis(Int32, Int32, Double[], Boolean)
Declaration
public BSplineBasis(int numCtrlPoints, int degree, double[] knots, bool bIsInteriorKnots)
Parameters
Fields
mBD0
Declaration
protected double[, ] mBD0
Field Value
mBD1
Declaration
protected double[, ] mBD1
Field Value
mBD2
Declaration
protected double[, ] mBD2
Field Value
mBD3
Declaration
protected double[, ] mBD3
Field Value
mDegree
Declaration
Field Value
mKnot
Declaration
Field Value
mNumCtrlPoints
Declaration
protected int mNumCtrlPoints
Field Value
mOpen
Declaration
Field Value
Declaration
Field Value
Properties
InteriorKnotCount
Declaration
public int InteriorKnotCount { get; }
Property Value
KnotCount
Declaration
public int KnotCount { get; }
Property Value
Methods
Allocate()
Declaration
protected double[, ] Allocate()
Returns
Clone()
Declaration
public BSplineBasis Clone()
Returns
Compute(Double, Int32, ref Int32, ref Int32)
Declaration
public void Compute(double t, int order, ref int minIndex, ref int maxIndex)
Parameters
GetD0(Int32)
Declaration
public double GetD0(int i)
Parameters
Type |
Name |
Description |
Int32 |
i |
|
Returns
GetD1(Int32)
Declaration
public double GetD1(int i)
Parameters
Type |
Name |
Description |
Int32 |
i |
|
Returns
GetD2(Int32)
Declaration
public double GetD2(int i)
Parameters
Type |
Name |
Description |
Int32 |
i |
|
Returns
GetD3(Int32)
Declaration
public double GetD3(int i)
Parameters
Type |
Name |
Description |
Int32 |
i |
|
Returns
GetDegree()
Declaration
Returns
GetInteriorKnot(Int32)
Declaration
public double GetInteriorKnot(int j)
Parameters
Type |
Name |
Description |
Int32 |
j |
|
Returns
GetKey(ref Double)
Declaration
protected int GetKey(ref double t)
Parameters
Type |
Name |
Description |
Double |
t |
|
Returns
GetKnot(Int32)
Declaration
public double GetKnot(int j)
Parameters
Type |
Name |
Description |
Int32 |
j |
|
Returns
GetNumCtrlPoints()
Declaration
public int GetNumCtrlPoints()
Returns
Initialize(Int32, Int32, Boolean)
Declaration
protected int Initialize(int numCtrlPoints, int degree, bool open)
Parameters
Returns
IsOpen()
Declaration
Returns
Declaration
Returns
SetInteriorKnot(Int32, Double)
Declaration
public void SetInteriorKnot(int j, double value)
Parameters
SetKnot(Int32, Double)
Declaration
public void SetKnot(int j, double value)
Parameters