Projection.GetParameterValue

Projection.GetParameterValue method

Gets parameter with specified name of this projection.

public double GetParameterValue(string name, ParameterType type = ParameterType.Other)
ParameterTypeDescription
nameStringName of parameter.
typeParameterTypeType of parameter. Defines unit factor that will be deapplied: if type is Linear then LinearParametersUnit will be deapplied and result will be in meters. if type is Angular then AngularParametersUnit will be deapplied and result will be in radians. if type is Other parameter value will be returned ‘as is’.

Return Value

Parameter with specified name.

Exceptions

exceptioncondition
ArgumentNullExceptionArgument is null.
InvalidOperationExceptionThere is no parameter with this name.

See Also