Click or drag to resize
AB4D logo

Line3DFactoryCreateNURBSCurve3D(IListPoint3D, IListDouble, Int32, Double, Color, LineCap, LineCap, Visual3D) Method

Creates 3D lines that represent a 3D NURBS curve (BSpline with weighted control points).

Namespace: Ab3d.Models
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public static GeometryModel3D CreateNURBSCurve3D(
	IList<Point3D> controlPoints,
	IList<double> weights,
	int positionsPerSegment,
	double lineThickness,
	Color lineColor,
	LineCap startLineCap,
	LineCap endLineCap,
	Visual3D parentVisual3D
)

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
parentVisual3D  Visual3D
parent Visual3D

Return Value

GeometryModel3D
GeometryModel3D that defines the 3D curve
See Also