|
Line3DFactoryCreateLine3D(Point3D, Point3D, Double, Color, LineCap, LineCap, Viewport3D) Method |
Creates 3D line from startPosition to endPosition.
Namespace: Ab3d.ModelsAssembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax public static GeometryModel3D CreateLine3D(
Point3D startPosition,
Point3D endPosition,
double thickness,
Color color,
LineCap startLineCap,
LineCap endLineCap,
Viewport3D parentViewport3D
)
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
- parentViewport3D Viewport3D
- parent Viewport3D
Return Value
GeometryModel3DGeometryModel3D that defines the 3D line
See Also