Click or drag to resize

LengthUnitToUnitSystem Method (Double, ISetUnitSystem)

Returns the most similar UnitSystem to this instance available on unitSystems set.

Namespace:  Rhino
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public UnitSystem? ToUnitSystem(
	out double factor,
	ISet<UnitSystem> unitSystems
)

Parameters

factor
Type: SystemDouble
unitSystems
Type: System.Collections.GenericISetUnitSystem

Return Value

Type: NullableUnitSystem
A UnitSystem in the provided set of available unitSystems.
See Also