FSUIPC Client DLL
.NET interface for FSUIPC
|
This defines a closed polygon defined by a series of Lat/Lon points (vertices). There can be any number of points. Unlike FsLatLonQuadrilateral this class supports concave shapes and complex shapes (having self-instersecting sides). More...
Public Member Functions | |
FsLatLonPolygon (FsLatLonPoint[] Points) | |
Creates a polygon from an array of lat/lon points (vertices). The points can start anywhere on the polygon but must be contiguous. They can specified either clockwise or counter-clockwise. The polygon will be closed so the last point will connect with the first. | |
bool | ContainsPoint (FsLatLonPoint Point) |
Calculates if the given point is inside this polygon. | |
FsPolygonIntersection | GetIntersectionFromPointFeet (FsLatLonPoint Point, double HeadingTrue, double RangeFeet) |
Calculates an intersection point on the polygon given a starting point, a heading and a maximum search range. | |
FsPolygonIntersection | GetIntersectionFromPointNauticalMiles (FsLatLonPoint Point, double HeadingTrue, double RangeNauticalMiles) |
Calculates an intersection point on the polygon given a starting point, a heading and a maximum search range. | |
FsPolygonIntersection | GetIntersectionFromPointMetres (FsLatLonPoint Point, double HeadingTrue, double RangeMetres) |
Calculates an intersection point on the polygon given a starting point, a heading and a maximum search range. | |
FsLineSegmentIntersection[] | GetInstersection (FsLatLonLineSegment Line) |
Finds the points where the given line segment intersects this polygon. | |
Properties | |
FsLatLonQuadrilateral | Bounds [get] |
The rectangular bounding box for this polygon. All points of the polygon are contained within this rectangle. | |
FsLatLonPoint[] | Points [get] |
An array of Lat/Lon points that define this polygon. | |
FsLatLonLineSegment[] | LineSegments [get] |
An array of line segments that make up this polygon. | |
This defines a closed polygon defined by a series of Lat/Lon points (vertices). There can be any number of points. Unlike FsLatLonQuadrilateral this class supports concave shapes and complex shapes (having self-instersecting sides).
|
inline |
Creates a polygon from an array of lat/lon points (vertices). The points can start anywhere on the polygon but must be contiguous. They can specified either clockwise or counter-clockwise. The polygon will be closed so the last point will connect with the first.
Points |
|
inline |
Calculates if the given point is inside this polygon.
Point | The point to test |
|
inline |
Finds the points where the given line segment intersects this polygon.
Line | The line segment to test for an intersection |
|
inline |
Calculates an intersection point on the polygon given a starting point, a heading and a maximum search range.
Point | The starting point |
HeadingTrue | The heading in degrees TRUE along which to search for the intersection |
RangeFeet | The maximum range infeet to search for the intersection |
|
inline |
Calculates an intersection point on the polygon given a starting point, a heading and a maximum search range.
Point | The starting point |
HeadingTrue | The heading in degrees TRUE along which to search for the intersection |
RangeMetres | The maximum range in metres to search for the intersection |
|
inline |
Calculates an intersection point on the polygon given a starting point, a heading and a maximum search range.
Point | The starting point |
HeadingTrue | The heading in degrees TRUE along which to search for the intersection |
RangeNauticalMiles | The maximum range in nautical miles to search for the intersection |