Click or drag to resize
AB4D logo

Line3DFactoryCreatePolyLine3D(ListPointCollection, Point3D, Vector3D, Vector3D, Double, Color, LineCap, LineCap, Double, Viewport3D) Method

Create series of 3D lines that are connected to each other from a 2D points collection.

Namespace: Ab3d.Models
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public static GeometryModel3D CreatePolyLine3D(
	List<PointCollection> position2DCollections,
	Point3D startPosition,
	Vector3D xDirection,
	Vector3D yDirection,
	double thickness,
	Color color,
	LineCap startLineCap,
	LineCap endLineCap,
	double miterLimit,
	Viewport3D parentViewport3D
)

Parameters

position2DCollections  ListPointCollection
list of PointCollection
startPosition  Point3D
start position as Point3D
xDirection  Vector3D
x direction as Vector3D
yDirection  Vector3D
y direction as Vector3D
thickness  Double
line thickness in screen coordinates
color  Color
line color
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 polyline
See Also