Click or drag to resize
AB4D logo

BaseAxisWithLabelsVisual3DGetRelativeValue Method

GetRelativeValue returns a relative value in range from 0 to 1 from the specified absoluteValue (where the value lies between the AxisStartPosition and AxisEndPosition). Value 0 is returned when absoluteValue is set to MinimumValue. Value 1 is returned when absoluteValue is set to the value returned by the GetUsedMaximumValue method. Returned value is negative when absoluteValue is smaller then MinimumValue and bigger then 1 when the absoluteValue is bigger then used maximum value.

Namespace: Ab3d.Visuals
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public double GetRelativeValue(
	double absoluteValue
)

Parameters

absoluteValue  Double
value that will be converted into a relative value

Return Value

Double
relative value in range from 0 to 1 from the specified absoluteValue
See Also