Skip to content

M_Rhino_RhinoMath_UnitScale

Will Pearson edited this page Aug 12, 2016 · 2 revisions

RhinoMath.UnitScale Method

Computes the scale factor for changing the measurements unit systems.

Namespace: Rhino
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public static double UnitScale(
	UnitSystem from,
	UnitSystem to
)

VB

Public Shared Function UnitScale ( 
	from As UnitSystem,
	to As UnitSystem
) As Double

Parameters

 

from
Type: Rhino.UnitSystem
The system to convert from.
to
Type: Rhino.UnitSystem
The system to convert measurements into.

Return Value

Type: Double
A scale multiplier.

Version Information

Supported in: 5D58w

See Also

Reference

RhinoMath Class
Rhino Namespace

Clone this wiki locally