Click or drag to resize

Int64LineD2DAnnotatedGetIndex Method

Gets either the start point's index I0 at index 0, or the end point's index I1 at index 1.

Namespace: Altaxo.Geometry.Int64_2D
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public int GetIndex(
	int idx
)

Parameters

idx  Int32
The retrieving index.

Return Value

Int32
Either the start point's index P0 (idx==0), or the end point's index P1 (idx==1).
Exceptions
ExceptionCondition
IndexOutOfRangeExceptionIndex out of range [0,1]
See Also