Struct ObstacleEvaluationResult
Contains results of obstacle evaluation against a facet
Namespace: FpAssistantCore.GeneralAviation.Obstacles
Assembly: FpAssistantCoreScl.dll
Syntax
public struct ObstacleEvaluationResult
Constructors
View SourceObstacleEvaluationResult(Boolean, Obstacle, Facet, LinearDistance, Point3d)
Create ObstacleEvaluationResult object
Declaration
public ObstacleEvaluationResult(bool obstacleIntersectsFacet, Obstacle obstacle, Facet facet, LinearDistance contactHeightOnFacet, Point3d contactPoint)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | obstacleIntersectsFacet | Obstacle intersect with Facet |
Obstacle | obstacle | Obstacle used in computation |
Facet | facet | Facet used in computation |
LinearDistance | contactHeightOnFacet | Height at which obstacle would intersect facet |
Point3d | contactPoint | Rough coordinate position of where the contact has been calculated |
Properties
View SourceContactHeightOnFacet
Distance at which the obstacle would hit the facet if obstacle was higher than any facet vertices
Declaration
public LinearDistance ContactHeightOnFacet { get; }
Property Value
Type | Description |
---|---|
LinearDistance | Linear distance |
Remarks
Height at which obstacle would hit facet based from 0 elevation
ContactPoint
Cartesian coordinate of contact point between obstacle and facet
Declaration
public Point3d ContactPoint { get; }
Property Value
Type | Description |
---|---|
Point3d | 3D Coordinate |
Remarks
Rough position of the contact point between the obstacle and facet
FacetUsed
Facet used in evaulation
Declaration
public Facet FacetUsed { get; }
Property Value
Type | Description |
---|---|
Facet | Facet object |
ObstacleIntersectsFacet
Obstacle was extended along z-axis, would it intersect facet
Declaration
public bool ObstacleIntersectsFacet { get; }
Property Value
Type | Description |
---|---|
System.Boolean | True or False depending on obstacle and facet intersect |
ObstacleUsed
Obstacle used in evaulation
Declaration
public Obstacle ObstacleUsed { get; }
Property Value
Type | Description |
---|---|
Obstacle | Obstacle object |