Class NcRelativeLocationType
A data type for a location identified by its proximity to another location.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class NcRelativeLocationType : IEquatable<NcRelativeLocationType>
Properties
Augmentation
Additional information about a relative location. NIEM reference is im:RelativeLocationAugmentation
Declaration
[DataMember(Name = "augmentation")]
public List<ImRelativeLocationAugmentationType> Augmentation { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ImRelativeLocationAugmentationType> | Additional information about a relative location. NIEM reference is im:RelativeLocationAugmentation |
Context
ncRelativeLocationType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public NcRelativeLocationType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<NcRelativeLocationType.ContextEnum> | ncRelativeLocationType JSON-LD context |
Description
A description of how to reach a location from a certain starting point. NIEM reference is nc:RelativeLocationDescriptionText
Declaration
[DataMember(Name = "description")]
public List<NcTextType> Description { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A description of how to reach a location from a certain starting point. NIEM reference is nc:RelativeLocationDescriptionText |
Direction
A relative direction of a location or movement from a starting point. NIEM reference is nc:RelativeLocationDirectionText
Declaration
[DataMember(Name = "direction")]
public List<NcTextType> Direction { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A relative direction of a location or movement from a starting point. NIEM reference is nc:RelativeLocationDirectionText |
DirectionCode
A relative compass direction of a location or movement from a starting point. NIEM reference is nc:RelativeLocationDirectionCode
Declaration
[DataMember(Name = "directionCode")]
public List<NcDirectionCodeType> DirectionCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcDirectionCodeType> | A relative compass direction of a location or movement from a starting point. NIEM reference is nc:RelativeLocationDirectionCode |
DistanceMeasure
A measurement of the distance of a location from a starting point. NIEM reference is nc:RelativeLocationDistanceMeasure
Declaration
[DataMember(Name = "distanceMeasure")]
public List<NcLengthMeasureType> DistanceMeasure { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcLengthMeasureType> | A measurement of the distance of a location from a starting point. NIEM reference is nc:RelativeLocationDistanceMeasure |
HeadingValue
A heading of a direction from a starting point. NIEM reference is nc:RelativeLocationHeadingValue
Declaration
[DataMember(Name = "headingValue")]
public List<NcRelativeLocationHeadingType> HeadingValue { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcRelativeLocationHeadingType> | A heading of a direction from a starting point. NIEM reference is nc:RelativeLocationHeadingValue |
ReferencePoint
A starting point used as a basis to determine the location of another point. NIEM reference is nc:RelativeLocationReferencePoint
Declaration
[DataMember(Name = "referencePoint")]
public List<NcLocationType> ReferencePoint { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcLocationType> | A starting point used as a basis to determine the location of another point. NIEM reference is nc:RelativeLocationReferencePoint |
Methods
Equals(NcRelativeLocationType)
Returns true if NcRelativeLocationType instances are equal
Declaration
public bool Equals(NcRelativeLocationType other)
Parameters
Type | Name | Description |
---|---|---|
NcRelativeLocationType | other | Instance of NcRelativeLocationType 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(NcRelativeLocationType, NcRelativeLocationType)
Declaration
public static bool operator ==(NcRelativeLocationType left, NcRelativeLocationType right)
Parameters
Type | Name | Description |
---|---|---|
NcRelativeLocationType | left | |
NcRelativeLocationType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(NcRelativeLocationType, NcRelativeLocationType)
Declaration
public static bool operator !=(NcRelativeLocationType left, NcRelativeLocationType right)
Parameters
Type | Name | Description |
---|---|---|
NcRelativeLocationType | left | |
NcRelativeLocationType | right |
Returns
Type | Description |
---|---|
System.Boolean |