Class MoWGS84EllipseType
A data type for an ellipse specified by a point, major axis, minor axis and rotation, using WGS84 coordinates, meters, and decimal degrees.
Inheritance
System.Object
MoWGS84EllipseType
Implements
System.IEquatable<MoWGS84EllipseType>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class MoWGS84EllipseType : IEquatable<MoWGS84EllipseType>
Properties
Context
moWGS84EllipseType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public MoWGS84EllipseType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<MoWGS84EllipseType.ContextEnum> | moWGS84EllipseType JSON-LD context |
Ellipse
Gets or Sets Ellipse
Declaration
[DataMember(Name = "ellipse")]
public string Ellipse { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Equals(MoWGS84EllipseType)
Returns true if MoWGS84EllipseType instances are equal
Declaration
public bool Equals(MoWGS84EllipseType other)
Parameters
Type | Name | Description |
---|---|---|
MoWGS84EllipseType | other | Instance of MoWGS84EllipseType 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
System.Object.Equals(System.Object)
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code |
Overrides
System.Object.GetHashCode()
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
System.Object.ToString()
Operators
Equality(MoWGS84EllipseType, MoWGS84EllipseType)
Declaration
public static bool operator ==(MoWGS84EllipseType left, MoWGS84EllipseType right)
Parameters
Type | Name | Description |
---|---|---|
MoWGS84EllipseType | left | |
MoWGS84EllipseType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(MoWGS84EllipseType, MoWGS84EllipseType)
Declaration
public static bool operator !=(MoWGS84EllipseType left, MoWGS84EllipseType right)
Parameters
Type | Name | Description |
---|---|---|
MoWGS84EllipseType | left | |
MoWGS84EllipseType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Implements
System.IEquatable<T>