M_Rhino_RhinoMath_UnitScale - mcneel/rhinocommon-api-docs GitHub Wiki
Computes the scale factor for changing the measurements unit systems.
Namespace: Rhino
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public static double UnitScale(
UnitSystem from,
UnitSystem to
)
VB
Public Shared Function UnitScale (
from As UnitSystem,
to As UnitSystem
) As Double
- from
- Type: Rhino.UnitSystem
The system to convert from. - to
- Type: Rhino.UnitSystem
The system to convert measurements into.
Type: Double
A scale multiplier.
Supported in: 5D58w