ContourShapedLineCapBaseAdd Method |
Adds geometry for a contour-based line cap using the specified contour description.
Namespace: Altaxo.Drawing.D3D.LineCapsAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static void Add(
Action<PointD3D, VectorD3D> AddPositionAndNormal,
Action<int, int, int, bool> AddIndices,
ref int vertexIndexOffset,
bool isStartCap,
PointD3D basePoint,
VectorD3D westVector,
VectorD3D northVector,
VectorD3D forwardVectorNormalized,
ICrossSectionOfLine lineCrossSection,
PointD3D[]? crossSectionPositions,
VectorD3D[]? crossSectionNormals,
ref Object?? temporaryStorageSpace,
ILineCapContour capContour
)
Parameters
- AddPositionAndNormal ActionPointD3D, VectorD3D
- Adds a vertex position together with its normal vector.
- AddIndices ActionInt32, Int32, Int32, Boolean
- Adds the vertex indices for a triangle.
- vertexIndexOffset Int32
- The running vertex index offset.
- isStartCap Boolean
- to generate the start cap; otherwise the end cap.
- basePoint PointD3D
- The base point of the cap.
- westVector VectorD3D
- The west direction of the local cap coordinate system.
- northVector VectorD3D
- The north direction of the local cap coordinate system.
- forwardVectorNormalized VectorD3D
- The normalized forward direction of the line.
- lineCrossSection ICrossSectionOfLine
- The cross section of the line.
- crossSectionPositions PointD3D
- Optional cached cross-section positions at the cap base.
- crossSectionNormals VectorD3D
- Optional cached cross-section normals at the cap base.
- temporaryStorageSpace Object
- Temporary storage reused across geometry generation calls.
- capContour ILineCapContour
- The contour that defines the cap shape.
See Also