SolidPolylineDashSegmentAddGeometry(ActionPointD3D, VectorD3D, ActionInt32, Int32, Int32, Boolean, Int32, IListPointD3D, VectorD3D, VectorD3D, VectorD3D, ILineCap, ILineCap) Method |
Adds the triangle geometry for a polyline segment with start and end cap.
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,
IList<PointD3D> polylinePoints,
VectorD3D westVector,
VectorD3D northVector,
VectorD3D forwardVector,
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 IListPointD3D
- The points of the original polyline to draw (not shortened to account for start and end cap).
- westVector VectorD3D
- West vector at the start of the original polyline.
- northVector VectorD3D
- North vector at the start of the original polyline.
- forwardVector VectorD3D
- Forward vector at the start of the original polyline.
- 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