FSUIPC Client DLL
.NET interface for FSUIPC
|
Represents an Quadrilateral area in FS bounded by four Latitude/Longitude coordinates. Note that only Convex Quadrilateral shapes will work properly. Concave shapes will not. For concave shapes use FsLatLonPolygon instead. More...
Public Member Functions | |
FsLatLonQuadrilateral (FsLatLonPoint P0, FsLatLonPoint P1, FsLatLonPoint P2, FsLatLonPoint P3) | |
Creates a FsLatLonQuadrilateral from four FsLatLonPoints. Each point represents a corner of the quad. The quad must be convex. The points can be specified in any order. More... | |
bool | ContainsPoint (FsLatLonPoint point) |
Calculates whether or not the given point in contained in this Quadrilateral. More... | |
override string | ToString () |
The four latitude and longitude points (corners) represented as a string in the default format of N|S|E|W dd* mm.mmmm' More... | |
string | ToString (bool HemisphereAsText, string DetailLevel, short DecimalPlaces) |
The four latitude and longitude points (corners) represented as a string in the specified format More... | |
Static Public Member Functions | |
static FsLatLonQuadrilateral | FromCenterMetres (FsLatLonPoint CenterPoint, double HeightMetres, double WidthMetres) |
Creates a new FsLatLonQuadrilateral of a given height and width, around a given centre point More... | |
static FsLatLonQuadrilateral | FromCenterFeet (FsLatLonPoint CenterPoint, double HeightFeet, double WidthFeet) |
Creates a new FsLatLonQuadrilateral of a given height and width, around a given centre point More... | |
static FsLatLonQuadrilateral | FromCenterNauticalMiles (FsLatLonPoint CenterPoint, double HeightNauticalMiles, double WidthNauticalMiles) |
Creates a new FsLatLonQuadrilateral of a given height and width, around a given centre point More... | |
static FsLatLonQuadrilateral | ForTaxiway (FsLatLonPoint StartPoint, double StartWidth, FsLatLonPoint EndPoint, double EndWidth) |
Create a new FsLatLonQuadrilateral from one point to another. The widths at each end can be specified. More... | |
static FsLatLonQuadrilateral | ForRunway (FsLatLonPoint ThresholdCentre, Double HeadingTrue, double WidthInFeet, double LengthInFeet) |
Creates a new bounding rectangle for a runway given the common information provided in MakeRunways.exe by Pete Dowson. More... | |
Properties | |
FsLatLonLineSegment [] | LineSegments [get] |
An array of 4 FsLineSegments representing each line of the Quadrilateral. Starting at the line running NW to NE, going clockwise. More... | |
FsLatLonPoint | NE [get] |
A FsLatLonPoint representing the North Eastern corner of this Quadrilateral. More... | |
FsLatLonPoint | SE [get] |
A FsLatLonPoint representing the South Eastern corner of this Quadrilateral. More... | |
FsLatLonPoint | SW [get] |
A FsLatLonPoint representing the South Western corner of this Quadrilateral. More... | |
FsLatLonPoint | NW [get] |
A FsLatLonPoint representing the North Western corner of this Quadrilateral. More... | |
FsLatitude | LatitudeMaximum [get] |
The maximum latitude covered by this Quad (most northerly) More... | |
FsLatitude | LatitudeMinimum [get] |
The minimum latitude covered by this Quad (most southerly) More... | |
FsLongitude | LongitudeMaximum [get] |
the maximum longitude covered by this Quad (most easterly) More... | |
FsLongitude | LongitudeMinimum [get] |
The minimum longitude covered by this Quad (most westerly) More... | |
Represents an Quadrilateral area in FS bounded by four Latitude/Longitude coordinates. Note that only Convex Quadrilateral shapes will work properly. Concave shapes will not. For concave shapes use FsLatLonPolygon instead.
|
inline |
Creates a FsLatLonQuadrilateral from four FsLatLonPoints. Each point represents a corner of the quad. The quad must be convex. The points can be specified in any order.
|
inline |
Calculates whether or not the given point in contained in this Quadrilateral.
point | The point to test |
|
inlinestatic |
Creates a new bounding rectangle for a runway given the common information provided in MakeRunways.exe by Pete Dowson.
HeadingTrue | The TRUE heading of the runway in Degrees |
ThresholdCentre | The Lon/Lat point of the centre of the runway threshold |
WidthInFeet | The width of the runway in Feet |
LengthInFeet | The length of the runway in Feet |
|
inlinestatic |
Create a new FsLatLonQuadrilateral from one point to another. The widths at each end can be specified.
StartPoint | The centre point of one edge of the new Quad |
StartWidth | The width of the edge located at the first point |
EndPoint | The centre point of the second edge of the new Quad |
EndWidth | The width of the edge located at the second point |
|
inlinestatic |
Creates a new FsLatLonQuadrilateral of a given height and width, around a given centre point
CenterPoint | The centre point of the new Quad |
HeightFeet | The height of the new Quad in Feet (from North to South) |
WidthFeet | The Width of the new Quad in Feet (from East to West) |
|
inlinestatic |
Creates a new FsLatLonQuadrilateral of a given height and width, around a given centre point
CenterPoint | The centre point of the new Quad |
HeightMetres | The height of the new Quad in Metres (from North to South) |
WidthMetres | The Width of the new Quad in Metres (from East to West) |
|
inlinestatic |
Creates a new FsLatLonQuadrilateral of a given height and width, around a given centre point
CenterPoint | The centre point of the new Quad |
HeightNauticalMiles | The height of the new Quad in Nautical Miles (from North to South) |
WidthNauticalMiles | The Width of the new Quad in Nautical Miles (from East to West) |
|
inline |
The four latitude and longitude points (corners) represented as a string in the default format of N|S|E|W dd* mm.mmmm'
|
inline |
The four latitude and longitude points (corners) represented as a string in the specified format
HemisphereAsText | Denote hemisphere using N,S,W or E. If false, west/south is marked as - |
DetailLevel | Specifies the detail level. "d" for degrees only, "m" for degrees and minutes, "s" for degrees, minutes and seconds |
DecimalPlaces | The number of decimal places to show |
|
get |
The maximum latitude covered by this Quad (most northerly)
|
get |
The minimum latitude covered by this Quad (most southerly)
|
get |
An array of 4 FsLineSegments representing each line of the Quadrilateral. Starting at the line running NW to NE, going clockwise.
|
get |
the maximum longitude covered by this Quad (most easterly)
|
get |
The minimum longitude covered by this Quad (most westerly)
|
get |
A FsLatLonPoint representing the North Eastern corner of this Quadrilateral.
|
get |
A FsLatLonPoint representing the North Western corner of this Quadrilateral.
|
get |
A FsLatLonPoint representing the South Eastern corner of this Quadrilateral.
|
get |
A FsLatLonPoint representing the South Western corner of this Quadrilateral.