Click or drag to resize
AB4D logo

Line3DFactoryCreateLine3D(Point3D, Point3D, Double, Color, LineCap, LineCap, Visual3D) Method

Creates 3D line from startPosition to endPosition.

Namespace: Ab3d.Models
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public static GeometryModel3D CreateLine3D(
	Point3D startPosition,
	Point3D endPosition,
	double thickness,
	Color color,
	LineCap startLineCap,
	LineCap endLineCap,
	Visual3D parentVisual3D
)

Parameters

startPosition  Point3D
start position
endPosition  Point3D
end position
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
parentVisual3D  Visual3D
parent Visual3D

Return Value

GeometryModel3D
GeometryModel3D that defines the 3D line
See Also