Show / Hide Table of Contents

Class PointObstacle

Point obstacle that has a GeoCoordinate, height and radius

Inheritance
System.Object
Obstacle
PointObstacle
Inherited Members
Obstacle.Description
Obstacle.Id
Obstacle.InternalId
Namespace: FpAssistantCore.GeneralAviation.Obstacles
Assembly: FpAssistantCoreScl.dll
Syntax
public class PointObstacle : Obstacle

Constructors

View Source

PointObstacle(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 Source

Centre

Geographical centre point of obstacle

Declaration
public GeoCoordinate Centre { get; set; }
Property Value
Type Description
GeoCoordinate

GeoCoordinate of the centre point of the obstacle

View Source

CentreXY

GridCoordinate centre point of obstacle

Declaration
public GridCoordinate CentreXY { get; }
Property Value
Type Description
GridCoordinate

GridCoordinate of the center point of the obstacle

View Source

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

View Source

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 Source

AsGeoMapElement(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
Obstacle.AsGeoMapElement(ObstacleGeographyMappings)
Remarks

Defaults to a POINT for mapping if not assigned in parameter

View Source

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
Obstacle.AssignGridCoordinate(CoordinateSystem, String)
Remarks

Grid coordinate are not calculated by default hence this call is needed

View Source

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
Obstacle.AssignGridCoordinate(MapProjections)
Remarks

Grid coordinate are not calculated by default hence this call is needed

See Also

LineObstacle
PolygonObstacle
  • View Source
In This Article
Back to top Copyright 2018-2024 CADology Limited