SolidPolylineDashSegmentAddGeometry(ActionPointD3D, VectorD3D, ActionInt32, Int32, Int32, Boolean, Int32, IEnumerablePolylinePointD3D, Boolean, ILineCap, ILineCap) Method |
Adds the triangle geometry. Here, the position of the startcap base and of the endcap base is already calculated and provided in the arguments.
Namespace: Altaxo.Drawing.D3DAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public void AddGeometry(
Action<PointD3D, VectorD3D> AddPositionAndNormal,
Action<int, int, int, bool> AddIndices,
ref int vertexIndexOffset,
IEnumerable<PolylinePointD3D> polylinePoints,
bool drawLine,
ILineCap? overrideStartCap,
ILineCap? overrideEndCap
)
Parameters
- AddPositionAndNormal ActionPointD3D, VectorD3D
- The procedure to add a vertex position and normal.
- AddIndices ActionInt32, Int32, Int32, Boolean
- The procedure to add vertex indices for one triangle.
- vertexIndexOffset Int32
- The vertex index offset.
- polylinePoints IEnumerablePolylinePointD3D
- The points of the polyline to draw. This is not the original polyline segment, but the polyline segment shortened to account for the start and end cap.
- drawLine Boolean
- If this parameter is true, the line segment between lineStart and lineEnd is drawn. If false, the line segment itself is not drawn, but the start end end caps are drawn.
- overrideStartCap ILineCap
- If not null, this parameter override the start cap that is stored in this class.
- overrideEndCap ILineCap
- If not null, this parameter overrides the end cap that is stored in this class.
Exceptions See Also