FlatAddGeometry(ActionPointD3D, VectorD3D, ActionInt32, Int32, Int32, Boolean, Int32, Boolean, PointD3D, VectorD3D, PointD3D) Method |
Adds the triangle geometry for this cap.
Namespace: Altaxo.Drawing.D3D.LineCapsAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static void AddGeometry(
Action<PointD3D, VectorD3D> AddPositionAndNormal,
Action<int, int, int, bool> AddIndices,
ref int vertexIndexOffset,
bool isStartCap,
PointD3D basePoint,
VectorD3D forwardVectorNormalized,
PointD3D[] baseCrossSectionPositions
)
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. Must be actualized during this call.
- isStartCap Boolean
- If set to true, a start cap is drawn; otherwise, an end cap is drawn.
- basePoint PointD3D
- The base point of the cap.
- forwardVectorNormalized VectorD3D
- The forward vector of the line or line segment. Must be normalized.
- baseCrossSectionPositions PointD3D
- The base cross section positions.
See Also