Show / Hide Table of Contents

Class Obstacle

Base class to handle obstacles

Inheritance
System.Object
Obstacle
LineObstacle
PointObstacle
PolygonObstacle
Namespace: FpAssistantCore.GeneralAviation.Obstacles
Assembly: FpAssistantCoreScl.dll
Syntax
public abstract class Obstacle : object
Remarks

Three obstacle types supported PointObstacle, LineObstacle and PolygonObstacle

Properties

View Source

Description

A description of the obstacle

Declaration
public string Description { get; set; }
Property Value
Type Description
System.String

Obstacle Description

View Source

Id

An Identifier/Designator for the obstacle

Declaration
public string Id { get; set; }
Property Value
Type Description
System.String

Obstacle Identifier/Designator

View Source

InternalId

Unique id based on Guid

Declaration
public Guid InternalId { get; set; }
Property Value
Type Description
Guid

Unique internal Id

Methods

View Source

AsGeoMapElement(ObstacleGeographyMappings)

Represents obstacle as a GeoMapElement

Declaration
public abstract GeoMapElement AsGeoMapElement(ObstacleGeographyMappings obstacleGeographyMappings)
Parameters
Type Name Description
ObstacleGeographyMappings obstacleGeographyMappings
Returns
Type Description
GeoMapElement
View Source

AssignGridCoordinate(CoordinateSystem, String)

assigns the GridCoordinate a XY value

Declaration
public abstract void AssignGridCoordinate(CoordinateSystem coordinateSystem, string projectionZoneIdentifier)
Parameters
Type Name Description
CoordinateSystem coordinateSystem

choice of coordinate system to convert GeoCoordinate Latitude/Longitude values

System.String projectionZoneIdentifier

The zone identfier of the coordinate system

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

View Source

AssignGridCoordinate(MapProjections)

assigns the GridCoordinate a XY value

Declaration
public abstract void AssignGridCoordinate(MapProjections mapProjection)
Parameters
Type Name Description
MapProjections mapProjection

A map projection to be used to calculate the GridCoordinate

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

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