Class Projection
Partial implemention of the Projection scripting class.
Namespace: Scripting
Syntax
public class Projection
Methods
Equals(Projection)
Tests a Projection against this current Projection for equality.
Declaration
public bool Equals(Projection val)
Parameters
Type | Name | Description |
---|---|---|
Projection | val |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Equals(Object)
Tests a System.Object against this current Projection for equality.
Declaration
public override bool Equals(object toCompare)
Parameters
Type | Name | Description |
---|---|---|
System.Object | toCompare |
Returns
Type | Description |
---|---|
System.Boolean | True if object is equal otherwise false is returned. |
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Gets the hash code for this object.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | The hash code for this object. |
Overrides
System.Object.GetHashCode()
ToString()
Override ToString to return the projection string (the WKT (Well Known Text))
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()
Operators
Equality(Projection, Projection)
Tests a Projection against this current Projection for equality.
Declaration
public static bool operator ==(Projection a, Projection b)
Parameters
Type | Name | Description |
---|---|---|
Projection | a | |
Projection | b |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Inequality(Projection, Projection)
Tests a Projection against this current Projection for inequality.
Declaration
public static bool operator !=(Projection a, Projection b)
Parameters
Type | Name | Description |
---|---|---|
Projection | a | |
Projection | b |
Returns
Type | Description |
---|---|
System.Boolean | True if not equal otherwise false is returned. |