GeometryUtilConvertRange Method
Convert a value from one range to another.
Namespace: GeometryAssembly: Geometry (in Geometry.dll) Version: 25.2414.4032
public static float ConvertRange(
float sourceStart,
float sourceEnd,
float targetStart,
float targetEnd,
float value
)
Public Shared Function ConvertRange (
sourceStart As Single,
sourceEnd As Single,
targetStart As Single,
targetEnd As Single,
value As Single
) As Single
No code example is currently available or this language may not be supported.
- sourceStart Single
-
The starting value of the source range.
- sourceEnd Single
-
The ending value of the source range.
- targetStart Single
-
The starting value of the target range.
- targetEnd Single
-
The ending value of the target range.
- value Single
-
The value to convert.
Single
The representation of the caller's source value in the target range.