|
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.VisualsAssembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax public double GetRelativeValue(
double absoluteValue
)
Parameters
- absoluteValue Double
- value that will be converted into a relative value
Return Value
Doublerelative value in range from 0 to 1 from the specified absoluteValue
See Also