Class Obstacle
Base class to handle obstacles
Inherited Members
Namespace: FpAssistantCore.GeneralAviation.Obstacles
Assembly: FpAssistantCoreScl.dll
Syntax
public abstract class Obstacle
Remarks
Three obstacle types supported PointObstacle, LineObstacle and PolygonObstacle
Properties
View SourceDescription
A description of the obstacle
Declaration
public string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Obstacle Description |
Id
An Identifier/Designator for the obstacle
Declaration
public string Id { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Obstacle Identifier/Designator |
InternalId
Unique id based on Guid
Declaration
public Guid InternalId { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid | Unique internal Id |
Methods
View SourceAsGeoMapElement(ObstacleGeographyMappings)
Represents obstacle as a GeoMapElement
Declaration
public abstract GeoMapElement AsGeoMapElement(ObstacleGeographyMappings obstacleGeographyMappings)
Parameters
| Type | Name | Description |
|---|---|---|
| ObstacleGeographyMappings | obstacleGeographyMappings |
Returns
| Type | Description |
|---|---|
| GeoMapElement |
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 |
| 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
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