Click or drag to resize

CrossSectionOfLineGetVerticesFromToIncluding Method

Gets the vertices of a cross section from a certain vertex index to another vertex index (including the last vertex index).

Namespace: Altaxo.Drawing.D3D.CrossSections
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static IEnumerable<PointD2D> GetVerticesFromToIncluding(
	ICrossSectionOfLine crossSection,
	int firstVertexIndex,
	int lastIncludedVertexIndex
)

Parameters

crossSection  ICrossSectionOfLine
The cross section.
firstVertexIndex  Int32
The first vertex index to include. Must be greater than or equal to zero.
lastIncludedVertexIndex  Int32
The last vertex index to include. Must be greater than firstVertexIndex, but can be greater than the number of vertices of the cross section in order to describe a polygon that 'wraps around'.

Return Value

IEnumerablePointD2D
The vertices from the first index up to and including the last index.
Exceptions
See Also