Class NcPolygonRegionType
A data type for a polygon area identified by a set of coordinates.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class NcPolygonRegionType : IEquatable<NcPolygonRegionType>
Properties
Context
ncPolygonRegionType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public NcPolygonRegionType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<NcPolygonRegionType.ContextEnum> | ncPolygonRegionType JSON-LD context |
MoAugmentation
Additional information about a polygon. NIEM reference is mo:PolygonRegionAugmentation
Declaration
[DataMember(Name = "moAugmentation")]
public List<MoPolygonRegionAugmentationType> MoAugmentation { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<MoPolygonRegionAugmentationType> | Additional information about a polygon. NIEM reference is mo:PolygonRegionAugmentation |
Nc401Augmentation
Additional information about a polygon region. NIEM reference is nc-4.0.1:PolygonRegionAugmentation
Declaration
[DataMember(Name = "nc-4.0.1Augmentation")]
public List<string> Nc401Augmentation { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.String> | Additional information about a polygon region. NIEM reference is nc-4.0.1:PolygonRegionAugmentation |
PolygonCoordinate
A geographic coordinate identifying a location at the end of a side of a multi-sided region. NIEM reference is nc:PolygonCoordinate
Declaration
[DataMember(Name = "polygonCoordinate")]
public List<NcLocation2DGeospatialCoordinateType> PolygonCoordinate { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcLocation2DGeospatialCoordinateType> | A geographic coordinate identifying a location at the end of a side of a multi-sided region. NIEM reference is nc:PolygonCoordinate |
Methods
Equals(NcPolygonRegionType)
Returns true if NcPolygonRegionType instances are equal
Declaration
public bool Equals(NcPolygonRegionType other)
Parameters
Type | Name | Description |
---|---|---|
NcPolygonRegionType | other | Instance of NcPolygonRegionType 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(NcPolygonRegionType, NcPolygonRegionType)
Declaration
public static bool operator ==(NcPolygonRegionType left, NcPolygonRegionType right)
Parameters
Type | Name | Description |
---|---|---|
NcPolygonRegionType | left | |
NcPolygonRegionType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(NcPolygonRegionType, NcPolygonRegionType)
Declaration
public static bool operator !=(NcPolygonRegionType left, NcPolygonRegionType right)
Parameters
Type | Name | Description |
---|---|---|
NcPolygonRegionType | left | |
NcPolygonRegionType | right |
Returns
Type | Description |
---|---|
System.Boolean |