Class Receptor
Syntax
public class Receptor : INamedItem
Constructors
Receptor()
Creates an instance of the Receptor class.
Declaration
Receptor(String, IReadable2DLocation, Double, Double, Double, Double)
Initializes a new instance of the Receptor class.
Declaration
public Receptor(string name, IReadable2DLocation location, double bearing, double noiseHeightAboveGround, double shadowFlickerHeightAboveGround, 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 |
noiseHeightAboveGround |
The noise height about ground (in metres).
|
System.Double |
shadowFlickerHeightAboveGround |
The shadow flicker height about ground (in metres).
|
System.Double |
tilt |
The tilt (in degrees - angle above the horizon).
|
Properties
AbsoluteNoiseLimit
Declaration
public double AbsoluteNoiseLimit { get; set; }
Property Value
Type |
Description |
System.Double |
|
BackgroundNoiseReference
Gets or sets the background noise reference.
Declaration
public BackgroundNoiseReference BackgroundNoiseReference { get; set; }
Property Value
Bearing
Declaration
public double Bearing { get; set; }
Property Value
Type |
Description |
System.Double |
|
GroundFactor
Declaration
public double GroundFactor { get; set; }
Property Value
Type |
Description |
System.Double |
|
GroundFactorRadius
Declaration
public int GroundFactorRadius { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
IsGroundFactorApplied
Declaration
public bool IsGroundFactorApplied { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
IsNoise
Declaration
public bool IsNoise { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
IsShadowFlicker
Declaration
public bool IsShadowFlicker { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Location
Gets and sets the location of the receptor
Declaration
public I2DLocation Location { get; set; }
Property Value
Name
Declaration
public string Name { get; set; }
Property Value
Type |
Description |
System.String |
|
NoiseHeightAboveGround
Declaration
public double NoiseHeightAboveGround { get; set; }
Property Value
Type |
Description |
System.Double |
|
NoiseLimitType
Declaration
public ReceptorNoiseLimitType NoiseLimitType { get; set; }
Property Value
RelativeNoiseLimit
Declaration
public double RelativeNoiseLimit { get; set; }
Property Value
Type |
Description |
System.Double |
|
SetBack
Declaration
public double SetBack { get; set; }
Property Value
Type |
Description |
System.Double |
|
ShadowFlickerHeightAboveGround
Declaration
public double ShadowFlickerHeightAboveGround { get; set; }
Property Value
Type |
Description |
System.Double |
|
Tilt
Declaration
public double Tilt { get; set; }
Property Value
Type |
Description |
System.Double |
|
TurbineExclusionRadius
Declaration
public int TurbineExclusionRadius { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
Equals(Receptor)
Declaration
public bool Equals(Receptor val)
Parameters
Returns
Type |
Description |
System.Boolean |
True if equal otherwise false is returned.
|
Equals(Object)
Tests a System.Object against this current Receptor 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(Receptor, Receptor)
Declaration
public static bool operator ==(Receptor a, Receptor b)
Parameters
Returns
Type |
Description |
System.Boolean |
True if equal otherwise false is returned.
|
Inequality(Receptor, Receptor)
Declaration
public static bool operator !=(Receptor a, Receptor b)
Parameters
Returns
Type |
Description |
System.Boolean |
True if not equal otherwise false is returned.
|
Implements