Skip to main content

CRSBase

Namespace: Meshmakers.Octo.Runtime.Contracts.Geospatial.CoordinateReferenceSystem

Base class for all IGeometryObject implementing types

public abstract class CRSBase : IEqualityComparer<CRSBase>, IEquatable<CRSBase>

Inheritance ObjectCRSBase
Implements IEqualityComparer<CRSBase>, IEquatable<CRSBase>

Properties

Properties

Gets the properties.

public Dictionary<string, object> Properties { get; }

Property Value

Dictionary<String, Object>

Type

Gets the type of the GeometryObject object.

public CRSType Type { get; protected set; }

Property Value

CRSType

Methods

Equals(Object)

Determines whether the specified object is equal to the current object

public bool Equals(object obj)

Parameters

obj Object

Returns

Boolean

Equals(CRSBase)

Determines whether the specified object is equal to the current object

public bool Equals(CRSBase other)

Parameters

other CRSBase

Returns

Boolean

Equals(CRSBase, CRSBase)

Determines whether the specified object instances are considered equal

public bool Equals(CRSBase left, CRSBase right)

Parameters

left CRSBase

right CRSBase

Returns

Boolean

GetHashCode()

Returns the hash code for this instance

public int GetHashCode()

Returns

Int32

GetHashCode(CRSBase)

Returns the hash code for the specified object

public int GetHashCode(CRSBase obj)

Parameters

obj CRSBase

Returns

Int32