Class NcLongitudeCoordinateType
A data type for a measurement of the angular distance between a point on the Earth and the Prime Meridian.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class NcLongitudeCoordinateType : IEquatable<NcLongitudeCoordinateType>
Properties
Context
ncLongitudeCoordinateType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public NcLongitudeCoordinateType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<NcLongitudeCoordinateType.ContextEnum> | ncLongitudeCoordinateType JSON-LD context |
LongitudeDegreeValue
A value that specifies the degree of a longitude. The value comes from a restricted range between -180 (inclusive) and +180 (inclusive). NIEM reference is nc:LongitudeDegreeValue
Declaration
[DataMember(Name = "longitudeDegreeValue")]
public List<NcLongitudeDegreeType> LongitudeDegreeValue { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcLongitudeDegreeType> | A value that specifies the degree of a longitude. The value comes from a restricted range between -180 (inclusive) and +180 (inclusive). NIEM reference is nc:LongitudeDegreeValue |
LongitudeMinuteValue
A longitude value that specifies a minute of a degree. The value comes from a restricted range of 0 (inclusive) to 60 (exclusive). NIEM reference is nc:LongitudeMinuteValue
Declaration
[DataMember(Name = "longitudeMinuteValue")]
public List<NcAngularMinuteType> LongitudeMinuteValue { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcAngularMinuteType> | A longitude value that specifies a minute of a degree. The value comes from a restricted range of 0 (inclusive) to 60 (exclusive). NIEM reference is nc:LongitudeMinuteValue |
LongitudeSecondValue
A longitude value that specifies a second of a minute. The value comes from a restricted range of 0 (inclusive) to 60 (exclusive). NIEM reference is nc:LongitudeSecondValue
Declaration
[DataMember(Name = "longitudeSecondValue")]
public List<NcAngularSecondType> LongitudeSecondValue { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcAngularSecondType> | A longitude value that specifies a second of a minute. The value comes from a restricted range of 0 (inclusive) to 60 (exclusive). NIEM reference is nc:LongitudeSecondValue |
Methods
Equals(NcLongitudeCoordinateType)
Returns true if NcLongitudeCoordinateType instances are equal
Declaration
public bool Equals(NcLongitudeCoordinateType other)
Parameters
Type | Name | Description |
---|---|---|
NcLongitudeCoordinateType | other | Instance of NcLongitudeCoordinateType to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Equals(Object)
Returns true if objects are equal
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | Object to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Overrides
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code |
Overrides
ToJson()
Returns the JSON string presentation of the object
Declaration
public string ToJson()
Returns
Type | Description |
---|---|
System.String | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | String presentation of the object |
Overrides
Operators
Equality(NcLongitudeCoordinateType, NcLongitudeCoordinateType)
Declaration
public static bool operator ==(NcLongitudeCoordinateType left, NcLongitudeCoordinateType right)
Parameters
Type | Name | Description |
---|---|---|
NcLongitudeCoordinateType | left | |
NcLongitudeCoordinateType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(NcLongitudeCoordinateType, NcLongitudeCoordinateType)
Declaration
public static bool operator !=(NcLongitudeCoordinateType left, NcLongitudeCoordinateType right)
Parameters
Type | Name | Description |
---|---|---|
NcLongitudeCoordinateType | left | |
NcLongitudeCoordinateType | right |
Returns
Type | Description |
---|---|
System.Boolean |