Class Location3D
ReadOnly location with height above ground property
Namespace: Scripting
Syntax
public class Location3D : Location, I3DLocation, IReadable3DLocation, IEquatable<IReadable3DLocation>, I2DLocation, IReadable2DLocation, IEquatable<IReadable2DLocation>
Constructors
Location3D(Double, Double, Double)
Constructor
Declaration
public Location3D(double x, double y, double heightAboveGround)
Parameters
Type | Name | Description |
---|---|---|
System.Double | x | The x value |
System.Double | y | The y value |
System.Double | heightAboveGround | The height above ground level |
Properties
HeightAboveGround
Get the height above ground
Declaration
public double HeightAboveGround { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
Equals(IReadable3DLocation)
Gets is this location equal to rhs
Declaration
public bool Equals(IReadable3DLocation rhs)
Parameters
Type | Name | Description |
---|---|---|
IReadable3DLocation | rhs | The location to compare to |
Returns
Type | Description |
---|---|
System.Boolean | True if locations are equal |
Equals(Object)
Gets is this location equal to rhs
Declaration
public override bool Equals(object rhs)
Parameters
Type | Name | Description |
---|---|---|
System.Object | rhs | The location to compare to |
Returns
Type | Description |
---|---|
System.Boolean | True if locations are equal |
Overrides
GetHashCode()
Get the hash code for this object
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | The hash code |
Overrides
Implements
System.IEquatable<T>
System.IEquatable<T>