|
Line3DFactoryCreatePolyLine3D(Point3DCollection, Double, Color, Boolean, LineCap, LineCap, Double, Visual3D) Method |
Create series of 3D lines that are connected to each other.
Namespace: Ab3d.ModelsAssembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax public static GeometryModel3D CreatePolyLine3D(
Point3DCollection positions,
double thickness,
Color color,
bool isClosed,
LineCap startLineCap,
LineCap endLineCap,
double miterLimit,
Visual3D parentVisual3D
)
Parameters
- positions Point3DCollection
- positions as Point3DCollection that define the lines
- thickness Double
- line thickness in screen coordinates
- color Color
- line color
- isClosed Boolean
- if true the PolylineMesh3D closes 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)
- parentVisual3D Visual3D
- parent Visual3D
Return Value
GeometryModel3DGeometryModel3D that defines the 3D polyline
Remarks
The lines are defined by setting the using the first Point3D in positions collection as the start point. Than each position defines the new point to where the next line is drawn.
See Also