Show / Hide Table of Contents

Struct ObstacleEvaluation

Performs maths evaluation on a obstacle against a facet

Namespace: FpAssistantCore.GeneralAviation.Obstacles
Assembly: FpAssistantCoreScl.dll
Syntax
public struct ObstacleEvaluation

Methods

View Source

Evaluate(Obstacle, Facet, CoordinateSystem)

Evaluate a single obstacle against a single facet

Declaration
public ObstacleEvaluationResult Evaluate(Obstacle obstacle, Facet facet, CoordinateSystem coordinateSystem)
Parameters
Type Name Description
Obstacle obstacle

Obstacle to be used in the calculation

Facet facet

Facet to be used in the calculation

CoordinateSystem coordinateSystem

Coordinate system in which to perform the calculation

Returns
Type Description
ObstacleEvaluationResult

ObstacleEvaluationResult with details of the calculation

View Source

EvaluateXYPoint(Point2d, Facet)

Evaluate a single point2d against a single facet

Declaration
public Tuple<bool, Point3d> EvaluateXYPoint(Point2d point2d, Facet facet)
Parameters
Type Name Description
Point2d point2d

Point2d to be used

Facet facet

Facet to be used

Returns
Type Description
Tuple<System.Boolean, Point3d>

Tuple: Item1 is true or false if calculation is valid, Item2 is the value when the facet and point would touch

Remarks

Point expected have a Z value of 0 and will be projected up till it hits the facet

View Source

EvaluateXYPoint(Point2d, Double, Double, Facet)

Evaluate a single point2d against a single facet

Declaration
public Tuple<bool, Point3d> EvaluateXYPoint(Point2d point2d, double cylinderHeight, double cylinderRadius, Facet facet)
Parameters
Type Name Description
Point2d point2d

Point2d to be used

System.Double cylinderHeight
System.Double cylinderRadius
Facet facet

Facet to be used

Returns
Type Description
Tuple<System.Boolean, Point3d>

Tuple: Item1 is true or false if calculation is valid, Item2 is the value when the facet and point would touch

View Source

EvaluateXYPoint(Point3d, Facet)

Evaluate a single point3d against a single facet

Declaration
public Tuple<bool, Point3d> EvaluateXYPoint(Point3d point3d, Facet facet)
Parameters
Type Name Description
Point3d point3d
Facet facet

Facet to be used

Returns
Type Description
Tuple<System.Boolean, Point3d>

Tuple: Item1 is true or false if calculation is valid, Item2 is the value when the facet and point would touch

Remarks

Point expected have a Z value of 0 and will be projected up till it hits the facet

View Source

EvaluateXYPoint(Point3d, Double, Double, Facet)

Evaluate a single point3d against a single facet

Declaration
public Tuple<bool, Point3d> EvaluateXYPoint(Point3d point3d, double cylinderHeight, double cylinderRadius, Facet facet)
Parameters
Type Name Description
Point3d point3d

Point3d to be used

System.Double cylinderHeight
System.Double cylinderRadius
Facet facet

Facet to be used

Returns
Type Description
Tuple<System.Boolean, Point3d>

Tuple: Item1 is true or false if calculation is valid, Item2 is the value when the facet and point would touch

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