Class NcAreaType
A data type for a location identified by geographic boundaries.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class NcAreaType : IEquatable<NcAreaType>
Properties
CircularRegion
A circular area identified by a center coordinate and a radius. NIEM reference is nc:AreaCircularRegion
Declaration
[DataMember(Name = "circularRegion")]
public List<NcCircularRegionType> CircularRegion { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcCircularRegionType> | A circular area identified by a center coordinate and a radius. NIEM reference is nc:AreaCircularRegion |
Context
ncAreaType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public NcAreaType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<NcAreaType.ContextEnum> | ncAreaType JSON-LD context |
Description
A description of an area. NIEM reference is nc:AreaDescriptionText
Declaration
[DataMember(Name = "description")]
public List<NcTextType> Description { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A description of an area. NIEM reference is nc:AreaDescriptionText |
GeoEllipse
An ellipse specified by a point, major axis, minor axis and rotation. NIEM reference is geo:Ellipse
Declaration
[DataMember(Name = "geoEllipse")]
public List<GeoEllipseType> GeoEllipse { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<GeoEllipseType> | An ellipse specified by a point, major axis, minor axis and rotation. NIEM reference is geo:Ellipse |
MoEllipse
An ellipse, expressed as an XY plane (projected onto earth's surface) ellipse. The major axis is oriented along reported azimuth, with zero being due North. NIEM reference is mo:Ellipse
Declaration
[DataMember(Name = "moEllipse")]
public List<MoEllipseType> MoEllipse { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<MoEllipseType> | An ellipse, expressed as an XY plane (projected onto earth's surface) ellipse. The major axis is oriented along reported azimuth, with zero being due North. NIEM reference is mo:Ellipse |
PolygonRegion
A polygon area identified by a set of coordinates. NIEM reference is nc:AreaPolygonRegion
Declaration
[DataMember(Name = "polygonRegion")]
public List<NcPolygonRegionType> PolygonRegion { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcPolygonRegionType> | A polygon area identified by a set of coordinates. NIEM reference is nc:AreaPolygonRegion |
RegionGeometry
A GML geometry that describes a region. NIEM reference is geo:AreaRegionGeometry
Declaration
[DataMember(Name = "regionGeometry")]
public List<GeoGeometryType> RegionGeometry { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<GeoGeometryType> | A GML geometry that describes a region. NIEM reference is geo:AreaRegionGeometry |
Wgs84LocationEllipse
A area region described by an ellipse specified by a point, major axis, minor axis and rotation, using WGS84, meters, and decimal degrees. NIEM reference is mo:WGS84LocationEllipse
Declaration
[DataMember(Name = "wgs84LocationEllipse")]
public List<MoWGS84EllipseType> Wgs84LocationEllipse { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<MoWGS84EllipseType> | A area region described by an ellipse specified by a point, major axis, minor axis and rotation, using WGS84, meters, and decimal degrees. NIEM reference is mo:WGS84LocationEllipse |
Wgs84LocationExternalPolygon
An area region described by a polygon with no interior region, using WGS84 coordinates. NIEM reference is mo:WGS84LocationExternalPolygon
Declaration
[DataMember(Name = "wgs84LocationExternalPolygon")]
public List<MoWGS84ExternalPolygonType> Wgs84LocationExternalPolygon { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<MoWGS84ExternalPolygonType> | An area region described by a polygon with no interior region, using WGS84 coordinates. NIEM reference is mo:WGS84LocationExternalPolygon |
Methods
Equals(NcAreaType)
Returns true if NcAreaType instances are equal
Declaration
public bool Equals(NcAreaType other)
Parameters
Type | Name | Description |
---|---|---|
NcAreaType | other | Instance of NcAreaType 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(NcAreaType, NcAreaType)
Declaration
public static bool operator ==(NcAreaType left, NcAreaType right)
Parameters
Type | Name | Description |
---|---|---|
NcAreaType | left | |
NcAreaType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(NcAreaType, NcAreaType)
Declaration
public static bool operator !=(NcAreaType left, NcAreaType right)
Parameters
Type | Name | Description |
---|---|---|
NcAreaType | left | |
NcAreaType | right |
Returns
Type | Description |
---|---|
System.Boolean |