CADability dotNET
Creates a new NURBS surface with the given data.
Namespace: CADability.GeoObjectAssembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)
Syntax
C# |
---|
public NurbsSurface(
GeoPoint[,] poles,
double[,] weights,
double[] uKnots,
double[] vKnots,
int[] uMults,
int[] vMults,
int uDegree,
int vDegree,
bool uPeriodic,
bool vPeriodic
) |
Visual Basic |
---|
Public Sub New ( _
poles As GeoPoint(,), _
weights As Double(,), _
uKnots As Double(), _
vKnots As Double(), _
uMults As Integer(), _
vMults As Integer(), _
uDegree As Integer, _
vDegree As Integer, _
uPeriodic As Boolean, _
vPeriodic As Boolean _
) |
Visual C++ |
---|
public:
NurbsSurface(
array<GeoPoint,2>^ poles,
array<double,2>^ weights,
array<double>^ uKnots,
array<double>^ vKnots,
array<int>^ uMults,
array<int>^ vMults,
int uDegree,
int vDegree,
bool uPeriodic,
bool vPeriodic
) |
Parameters
- poles
- Type: array<CADability..::..GeoPoint,2>[,](,)[,][,]
the poles
- weights
- Type: array<System..::..Double,2>[,](,)[,][,]
the weight of the poles
- uKnots
- Type: array<System..::..Double>[]()[][]
the knots in u direction (no duplicate values)
- vKnots
- Type: array<System..::..Double>[]()[][]
the knots in v direction (no duplicate values)
- uMults
- Type: array<System..::..Int32>[]()[][]
the multiplicities in u direction
- vMults
- Type: array<System..::..Int32>[]()[][]
the multiplicities in v direction
- uDegree
- Type: System..::..Int32
the degree in u direction
- vDegree
- Type: System..::..Int32
the degree in v direction
- uPeriodic
- Type: System..::..Boolean
closed in u direction
- vPeriodic
- Type: System..::..Boolean
closed in v direction
See Also