Class NcCircularRegionType
A data type for a circular area identified by a center coordinate and a radius.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class NcCircularRegionType : IEquatable<NcCircularRegionType>
Properties
CenterCoordinate
A geographic coordinate located at the center of a circular region. NIEM reference is nc:CircularRegionCenterCoordinate
Declaration
[DataMember(Name = "centerCoordinate")]
public List<NcLocation2DGeospatialCoordinateType> CenterCoordinate { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcLocation2DGeospatialCoordinateType> | A geographic coordinate located at the center of a circular region. NIEM reference is nc:CircularRegionCenterCoordinate |
Context
ncCircularRegionType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public NcCircularRegionType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<NcCircularRegionType.ContextEnum> | ncCircularRegionType JSON-LD context |
RadiusLengthMeasure
A distance from the center point to the circumference or boundary of a circular region. NIEM reference is nc:CircularRegionRadiusLengthMeasure
Declaration
[DataMember(Name = "radiusLengthMeasure")]
public List<NcLengthMeasureType> RadiusLengthMeasure { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcLengthMeasureType> | A distance from the center point to the circumference or boundary of a circular region. NIEM reference is nc:CircularRegionRadiusLengthMeasure |
Methods
Equals(NcCircularRegionType)
Returns true if NcCircularRegionType instances are equal
Declaration
public bool Equals(NcCircularRegionType other)
Parameters
Type | Name | Description |
---|---|---|
NcCircularRegionType | other | Instance of NcCircularRegionType 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(NcCircularRegionType, NcCircularRegionType)
Declaration
public static bool operator ==(NcCircularRegionType left, NcCircularRegionType right)
Parameters
Type | Name | Description |
---|---|---|
NcCircularRegionType | left | |
NcCircularRegionType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(NcCircularRegionType, NcCircularRegionType)
Declaration
public static bool operator !=(NcCircularRegionType left, NcCircularRegionType right)
Parameters
Type | Name | Description |
---|---|---|
NcCircularRegionType | left | |
NcCircularRegionType | right |
Returns
Type | Description |
---|---|
System.Boolean |