Class ElevationContours
Implements
Namespace: Scripting
Syntax
public class ElevationContours : IElevationSource
Properties
Bounds
Gets the bounds of the Contours
Declaration
public Rectangle Bounds { get; }
Property Value
Type | Description |
---|---|
Rectangle |
MaximumElevation
Declaration
public double MaximumElevation { get; }
Property Value
Type | Description |
---|---|
System.Double |
MinimumElevation
Declaration
public double MinimumElevation { get; }
Property Value
Type | Description |
---|---|
System.Double |
Name
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Equals(ElevationContours)
Tests a ElevationContours against this current ElevationContours for equality.
Declaration
public bool Equals(ElevationContours val)
Parameters
Type | Name | Description |
---|---|---|
ElevationContours | val |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Equals(Object)
Tests a System.Object against this current ElevationContours 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()
Operators
Equality(ElevationContours, ElevationContours)
Tests a ElevationContours against this current ElevationContours for equality.
Declaration
public static bool operator ==(ElevationContours a, ElevationContours b)
Parameters
Type | Name | Description |
---|---|---|
ElevationContours | a | |
ElevationContours | b |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Inequality(ElevationContours, ElevationContours)
Tests a ElevationContours against this current ElevationContours for inequality.
Declaration
public static bool operator !=(ElevationContours a, ElevationContours b)
Parameters
Type | Name | Description |
---|---|---|
ElevationContours | a | |
ElevationContours | b |
Returns
Type | Description |
---|---|
System.Boolean | True if not equal otherwise false is returned. |