|
Line3DFactoryCreatePolyLine3D(ListPointCollection, Point3D, Vector3D, Vector3D, Double, Color, LineCap, LineCap, Visual3D) Method |
Create series of 3D lines that are connected to each other from a 2D points collection
Namespace: Ab3d.ModelsAssembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax public static GeometryModel3D CreatePolyLine3D(
List<PointCollection> position2DCollections,
Point3D startPosition,
Vector3D xDirection,
Vector3D yDirection,
double thickness,
Color color,
LineCap startLineCap,
LineCap endLineCap,
Visual3D parentVisual3D
)
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
- parentVisual3D Visual3D
- parent Visual3D
Return Value
GeometryModel3DGeometryModel3D that defines the 3D polyline
See Also