 |
BSplineCreateNURBSCurve(Int32) Method |
Returns a Point3DCollection that defines the NURBS curve based on the controlPoints and weights (defined with the constructor) and positionsPerSegment.
The curve positions are created using a fixed number of positions per segment.
This is very fast to computer, but can generate too many points along nearly straight sections and too few where the curve bends sharply.
Namespace: Ab3d.UtilitiesAssembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 12.0.9484.2048
Syntaxpublic Point3DCollection CreateNURBSCurve(
int positionsPerSegment
)
Parameters
- positionsPerSegment Int32
- number of additional points to make the curve smooth - bigger value creates smoother curve
Return Value
Point3DCollectionPoint3DCollection that defines the NURBS curve
See Also