Click or drag to resize

FlatAddGeometry(ActionPointD3D, VectorD3D, ActionInt32, Int32, Int32, Boolean, Int32, Boolean, PointD3D, VectorD3D, VectorD3D, VectorD3D, ICrossSectionOfLine, PointD3D, VectorD3D, Object) Method

Adds the triangle geometry for this cap.

Namespace: Altaxo.Drawing.D3D.LineCaps
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,
	bool isStartCap,
	PointD3D basePoint,
	VectorD3D eastVector,
	VectorD3D northVector,
	VectorD3D forwardVectorNormalized,
	ICrossSectionOfLine lineCrossSection,
	PointD3D[]? baseCrossSectionPositions,
	VectorD3D[]? baseCrossSectionNormals,
	ref Object?? temporaryStorageSpace
)

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.
eastVector  VectorD3D

[Missing <param name="eastVector"/> documentation for "M:Altaxo.Drawing.D3D.LineCaps.Flat.AddGeometry(System.Action{Altaxo.Geometry.PointD3D,Altaxo.Geometry.VectorD3D},System.Action{System.Int32,System.Int32,System.Int32,System.Boolean},System.Int32@,System.Boolean,Altaxo.Geometry.PointD3D,Altaxo.Geometry.VectorD3D,Altaxo.Geometry.VectorD3D,Altaxo.Geometry.VectorD3D,Altaxo.Drawing.D3D.ICrossSectionOfLine,Altaxo.Geometry.PointD3D[],Altaxo.Geometry.VectorD3D[],System.Object@)"]

northVector  VectorD3D
The north vector of the cross section.
forwardVectorNormalized  VectorD3D
The forward vector of the line or line segment. Must be normalized.
lineCrossSection  ICrossSectionOfLine
The line cross section.
baseCrossSectionPositions  PointD3D
The cross section positions at the base of the cap, or null if the line does not end at the cap base.
baseCrossSectionNormals  VectorD3D
The cross section normals at the base of the cap, or null.
temporaryStorageSpace  Object
Object which represents temporary storage space used by the cap. The storage space can be used again if the returned object is again provided in subsequent calls.

Implements

ILineCapAddGeometry(ActionPointD3D, VectorD3D, ActionInt32, Int32, Int32, Boolean, Int32, Boolean, PointD3D, VectorD3D, VectorD3D, VectorD3D, ICrossSectionOfLine, PointD3D, VectorD3D, Object)
See Also