FlatAddGeometry(ActionPointD3D, VectorD3D, ActionInt32, Int32, Int32, Boolean, Int32, Boolean, PointD3D, VectorD3D, VectorD3D, VectorD3D, ICrossSectionOfLine) 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 westVector,
VectorD3D northVector,
VectorD3D forwardVector,
ICrossSectionOfLine crossSection
)
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 location of the middle point of the line at the cap's location.
- westVector VectorD3D
- The west vector for orientation of the cross section.
- northVector VectorD3D
- The north vector for orientation of the cross section.
- forwardVector VectorD3D
- The forward vector for orientation of the cross section.
- crossSection ICrossSectionOfLine
- The cross section of the line.
See Also