|
Line3DFactoryCreateNURBSCurve3D(IListPoint3D, IListDouble, Int32, Double, Color, LineCap, LineCap, Double, Viewport3D) Method |
Creates 3D lines that represent a 3D NURBS curve (BSpline with weighted control points).
Namespace: Ab3d.ModelsAssembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax public static GeometryModel3D CreateNURBSCurve3D(
IList<Point3D> controlPoints,
IList<double> weights,
int positionsPerSegment,
double lineThickness,
Color lineColor,
LineCap startLineCap,
LineCap endLineCap,
double miterLimit,
Viewport3D parentViewport3D
)
Parameters
- controlPoints IListPoint3D
- controlPoints that define the line
- weights IListDouble
- weights that weight the control points
- positionsPerSegment Int32
- the number of positions that are used to define one curve segment
- lineThickness Double
- line thickness in screen coordinates
- lineColor Color
- color of the lines
- startLineCap LineCap
- LineCap that is used for start position of each line
- endLineCap LineCap
- LineCap that is used for end position of each line
- miterLimit Double
- double value that specifies how long the edge can be before it is turned into a beveled edge (specified in number of thicknesses)
- parentViewport3D Viewport3D
- parent Viewport3D
Return Value
GeometryModel3DGeometryModel3D that defines the 3D curve
See Also