Class PolygonObstacle
Polygon obstacle
Inherited Members
Namespace: FpAssistantCore.GeneralAviation.Obstacles
Assembly: FpAssistantCoreScl.dll
Syntax
public class PolygonObstacle : Obstacle
Remarks
A polygon made of of 3 or more points each having the same height
Properties
View SourceGeoCoordinates
Contains a list of coordinate that define a closed polgyon
Declaration
public List<GeoCoordinate> GeoCoordinates { get; set; }
Property Value
Type | Description |
---|---|
List<GeoCoordinate> | List of GeoCoordinate |
HeightMsl
Access to the height (MSL) of the polygon
Declaration
public LinearDistance HeightMsl { get; set; }
Property Value
Type | Description |
---|---|
LinearDistance | Value of the height of the polygon |
Remarks
Polygon is a series of 3 or more points with the same height
Methods
View SourceAsGeoMapElement(ObstacleGeographyMappings)
Represents obstacle as a GeoMapElement
Declaration
public override GeoMapElement AsGeoMapElement(ObstacleGeographyMappings obstacleGeographyMappings)
Parameters
Type | Name | Description |
---|---|---|
ObstacleGeographyMappings | obstacleGeographyMappings |
Returns
Type | Description |
---|---|
GeoMapElement |
Overrides
View SourceAssignGridCoordinate(CoordinateSystem, string)
assigns the GridCoordinate a XY value
Declaration
public override void AssignGridCoordinate(CoordinateSystem coordinateSystem, string projectionZoneIdentifier)
Parameters
Type | Name | Description |
---|---|---|
CoordinateSystem | coordinateSystem | choice of coordinate system to convert GeoCoordinate Latitude/Longitude values |
string | projectionZoneIdentifier | The zone identfier of the coordinate system |
Overrides
Remarks
The GridCoordinate property of the obstacle is used in the mathematical calculation in obstacle evaluation. It is important then the GridCoordinate is in the same map projection as the facet data
AssignGridCoordinate(MapProjections)
assigns the GridCoordinate a XY value
Declaration
public override void AssignGridCoordinate(MapProjections mapProjection)
Parameters
Type | Name | Description |
---|---|---|
MapProjections | mapProjection | A map projection to be used to calculate the GridCoordinate |
Overrides
Remarks
The GridCoordinate property of the obstacle is used in the mathematical calculation in obstacle evaluation. It is important then the GridCoordinate is in the same map projection as the facet data