Click or drag to resize

LengthUnitScale Method

Computes the scale factor for changing a measurement on different units.

Namespace:  Rhino
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntax
public static double Scale(
	 in LengthUnit from,
	 in LengthUnit to
)

Parameters

from
Type: RhinoLengthUnit
The units to convert from.
to
Type: RhinoLengthUnit
The units to convert measurements into.

Return Value

Type: Double
A unit scale factor.
See Also