 | 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
Syntaxpublic static double rUnitScale(
CGXNETCore gxNetShared,
string name,
double default
)
public static double rUnitScale(
CGXNETCore gxNetShared,
string name,
double default
)
Public Shared Function rUnitScale (
gxNetShared As CGXNETCore,
name As String,
default As Double
) As Double
Public Shared Function rUnitScale (
gxNetShared As CGXNETCore,
name As String,
default As Double
) As Double
public:
static double rUnitScale(
CGXNETCore^ gxNetShared,
String^ name,
double default
)
public:
static double rUnitScale(
CGXNETCore^ gxNetShared,
String^ name,
double default
)
static member rUnitScale :
gxNetShared : CGXNETCore *
name : string *
default : float -> float
static member rUnitScale :
gxNetShared : CGXNETCore *
name : string *
default : float -> float
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:
DoubleScale factor m/unit
RemarksIf name cannot be found, returns default.
See Also