|
Line3DFactoryCreateMultiLine3D(IListPoint3D, Double, Color, LineCap, LineCap, Boolean, Transform3D, Visual3D) Method |
Creates series of 3D lines that are defined with positions. With setting removeDuplicates parameter it is possible to remove duplicate lines. The lines are not connected with each other.
Namespace: Ab3d.ModelsAssembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax public static GeometryModel3D CreateMultiLine3D(
IList<Point3D> positions,
double thickness,
Color color,
LineCap startLineCap,
LineCap endLineCap,
bool removeDuplicates,
Transform3D transform,
Visual3D parentVisual3D
)
Parameters
- positions IListPoint3D
- positions as a list of Point3D that define the lines
- 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
- removeDuplicates Boolean
- if true the duplicate lines (with same start and end positions) are removed from the positions collection
- transform Transform3D
- Transform3D that is applied to all positions
- parentVisual3D Visual3D
- parent Visual3D
Return Value
GeometryModel3DGeometryModel3D that defines the 3D lines
Remarks See Also