Click or drag to resize

RhinoMathUnitScale Method (UnitSystem, UnitSystem)

Computes the scale factor for changing the measurements unit systems.

Namespace:  Rhino
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax
public static double UnitScale(
	UnitSystem from,
	UnitSystem to
)

Parameters

from
Type: RhinoUnitSystem
The system to convert from.
to
Type: RhinoUnitSystem
The system to convert measurements into.

Return Value

Type: Double
A scale multiplier.
See Also