 | CIPJrUnitScale Method |
Get a unit scale (m/unit) given a name
Namespace:
GeoEngine.Core.GXNet
Assembly:
geoengine.core.gxnet (in geoengine.core.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static double rUnitScale(
string name,
double default
)
public static double rUnitScale(
string name,
double default
)
Public Shared Function rUnitScale (
name As String,
default As Double
) As Double
Public Shared Function rUnitScale (
name As String,
default As Double
) As Double
public:
static double rUnitScale(
String^ name,
double default
)
public:
static double rUnitScale(
String^ name,
double default
)
static member rUnitScale :
name : string *
default : float -> float
static member rUnitScale :
name : string *
default : float -> float
Parameters
- name
- Type: SystemString
Unit name, abbreviation or full name - default
- Type: SystemDouble
Default to return if name not found
Return Value
Type:
DoubleScale factor m/unit
RemarksIf name cannot be found, returns default.
See Also