Click or drag to resize

SolidPolylineDashSegmentAddGeometry(ActionPointD3D, VectorD3D, ActionInt32, Int32, Int32, Boolean, Int32, IListPolylinePointD3D, ILineCap, ILineCap) Method

Adds the triangle geometry for a polyline segment with start and end caps.

Namespace: Altaxo.Drawing.D3D
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public void AddGeometry(
	Action<PointD3D, VectorD3D> AddPositionAndNormal,
	Action<int, int, int, bool> AddIndices,
	ref int vertexIndexOffset,
	IList<PolylinePointD3D> polylinePoints,
	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  IListPolylinePointD3D
The points of the original polyline to draw (not shortened to account for start and end cap). Here, the polyline points are already amended with orientation vectors.
overrideStartCap  ILineCap
If not null, this parameter overrides the start cap stored in this instance.
overrideEndCap  ILineCap
If not null, this parameter overrides the end cap stored in this instance.
See Also