Click or drag to resize
AB4D logo

Line3DFactoryCreateBSpline3D(IListPoint3D, Int32, Double, Color, LineCap, LineCap, Double, Viewport3D) Method

Creates 3D lines that represent a 3D B-Spline.

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

Parameters

controlPoints  IListPoint3D
control points for B-Spline
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

GeometryModel3D
GeometryModel3D that defines the 3D B-Spline
See Also