Click or drag to resize

CIPJrUnitScale Method

Get a unit scale (m/unit) given a name

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public static double rUnitScale(
	CGXNETCore gxNetShared,
	string name,
	double default
)

public static double rUnitScale(
	CGXNETCore gxNetShared,
	string name,
	double default
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
name
Type: SystemString
Unit name, abbreviation or full name
default
Type: SystemDouble
Default to return if name not found

Return Value

Type: Double
Scale factor m/unit
Remarks
If name cannot be found, returns default.
See Also