Click or drag to resize

LinearPartitioningGetGridIndexFromAbsolutePosition Method

Gets the relative index from the absolute position.

Namespace: Altaxo.Graph
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public double GetGridIndexFromAbsolutePosition(
	double totalSize,
	double absolutePosition
)

Parameters

totalSize  Double
The total size of the grid.
absolutePosition  Double
The absolute position inside (or outside) the grid.

Return Value

Double
The relative index that corresponds to the provided absolute position.
See Also