Class Receptor
Implements
Namespace: Scripting
Syntax
public class Receptor : INamedItem
Constructors
Receptor(String, IReadable2DLocation, Double, Double, Double)
Initializes a new instance of the Receptor class.
Declaration
public Receptor(string name, IReadable2DLocation location, double bearing, double heightAboutGround, double tilt)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the receptor. |
IReadable2DLocation | location | The location of the receptor (in local coordinate system). |
System.Double | bearing | The bearing (in degrees clockwise from North). |
System.Double | heightAboutGround | The height about ground (in metres). |
System.Double | tilt | The tilt (in degrees - angle above the horizon). |
Properties
Location
Gets and sets the location of the receptor
Declaration
public I2DLocation Location { get; set; }
Property Value
Type | Description |
---|---|
I2DLocation |