Adds object(s) to the scene.
Namespace:
ceometric.VectorGeometryAssembly: ceometric.VectorGeometry (in ceometric.VectorGeometry.dll) Version: 1.8.0.0 (1.8.0.0)
Syntax
C# |
---|
public void Add( List<Line> lines, Scene..::.Layer layer, double startFactor, double endFactor ) |
Visual Basic (Declaration) |
---|
Public Sub Add ( _ lines As List(Of Line), _ layer As Scene..::.Layer, _ startFactor As Double, _ endFactor As Double _ ) |
Visual C++ |
---|
public: void Add( List<Line^>^ lines, Scene..::.Layer^ layer, double startFactor, double endFactor ) |
Parameters
- lines
- Type: System.Collections.Generic..::.List<(Of <(Line>)>)
A generic list of Line.
- layer
- Type: ceometric.VectorGeometry..::.Scene..::.Layer
A layer the lines lie on.
- startFactor
- Type: System..::.Double
A factor for the direction vector of the line to obtain the start point.
- endFactor
- Type: System..::.Double
A factor for the direction vector of the line to obtain the end point.
Remarks
Since line with infinite length can not be added to the scene. The start
and end points are obtained by multiplying the direction vector of the line by
startFactor and endFactor.
The color follows from the color of the layer.