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 cap.

Namespace: Altaxo.Drawing.D3D
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.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 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.
See Also