Class PointObstacle
Point obstacle that has a GeoCoordinate, height and radius
Namespace: FpAssistantCore.GeneralAviation.Obstacles
Assembly: FpAssistantCoreScl.dll
Syntax
public class PointObstacle : Obstacle
Constructors
View SourcePointObstacle(GeoCoordinate, LinearDistance, LinearDistance)
Constructor to initialise with a center point, height and radius
Declaration
public PointObstacle(GeoCoordinate centre, LinearDistance heightMsl, LinearDistance radius)
Parameters
Type | Name | Description |
---|---|---|
GeoCoordinate | centre | Geographical centre point of obstacle |
LinearDistance | heightMsl | Height of the point obstacle from 0 MSL |
LinearDistance | radius | Radius of the point obstacle, can be 0 |
Properties
View SourceCentre
Geographical centre point of obstacle
Declaration
public GeoCoordinate Centre { get; set; }
Property Value
Type | Description |
---|---|
GeoCoordinate | GeoCoordinate of the centre point of the obstacle |
CentreXY
GridCoordinate centre point of obstacle
Declaration
public GridCoordinate CentreXY { get; }
Property Value
Type | Description |
---|---|
GridCoordinate | GridCoordinate of the center point of the obstacle |
HeightMsl
Height of the point obstacle
Declaration
public LinearDistance HeightMsl { get; set; }
Property Value
Type | Description |
---|---|
LinearDistance | Height of the point obstacle |
Remarks
Height starting from MSL
Radius
Radius of the point obstacle
Declaration
public LinearDistance Radius { get; set; }
Property Value
Type | Description |
---|---|
LinearDistance | Radius value of the point obstacle |
Methods
View SourceAsGeoMapElement(ObstacleGeographyMappings)
Translate to GeoMapElement
Declaration
public override GeoMapElement AsGeoMapElement(ObstacleGeographyMappings obstacleGeographyMappings)
Parameters
Type | Name | Description |
---|---|---|
ObstacleGeographyMappings | obstacleGeographyMappings | Allows type of mapping to specific Geography type |
Returns
Type | Description |
---|---|
GeoMapElement | GeoMapElement |
Overrides
Remarks
Defaults to a POINT for mapping if not assigned in parameter
AssignGridCoordinate(CoordinateSystem, String)
Assigns a Grid Coordinate value based on the GeoCoordinate
Declaration
public override void AssignGridCoordinate(CoordinateSystem coordinateSystem, string projectionZoneIdentifier)
Parameters
Type | Name | Description |
---|---|---|
CoordinateSystem | coordinateSystem | Grid Coordinate system |
System.String | projectionZoneIdentifier | A zone (projection) for the grid coordinate system, if needed |
Overrides
Remarks
Grid coordinate are not calculated by default hence this call is needed
AssignGridCoordinate(MapProjections)
Assigns a Grid Coordinate value based on the GeoCoordinate
Declaration
public override void AssignGridCoordinate(MapProjections mapProjection)
Parameters
Type | Name | Description |
---|---|---|
MapProjections | mapProjection | Map projection to use to calculate the GridCoordinate |
Overrides
Remarks
Grid coordinate are not calculated by default hence this call is needed