WSF
usmtf::Corridor Class Reference

#include <Corridor.hpp>

Inheritance diagram for usmtf::Corridor:
Collaboration diagram for usmtf::Corridor:

Public Member Functions

 Corridor (const std::string &aSTF, const std::vector< Field > &aFields) noexcept
const RadiusGetWidth () const noexcept
const std::vector< LatLon > & GetPoints () const noexcept
Public Member Functions inherited from usmtf::Set
 Set (const std::string &aSTF, const std::vector< Field > &aFields) noexcept
virtual ~Set ()=default
const std::string & GetType () const noexcept
 Return the Set Identifiers/Set Text Format of the set instance.
bool IsEmpty () const noexcept
int GetFieldCount () const noexcept
const FieldGetField (size_t aIndex) const
 Returns a field at a index position in the Set.
const std::string & GetFieldContent (size_t aIndex) const
 Returns the Contents of a field at specified index.
const std::string GetReconstructedSet () const noexcept
Public Member Functions inherited from usmtf::Validatable
bool IsValid () const noexcept
Public Member Functions inherited from usmtf::ErrorManager
virtual ~ErrorManager ()=default
bool HasErrors () const noexcept
void LogErrors (std::ostream &aOut) const noexcept
const std::vector< ValidationError > & GetErrors () const

Additional Inherited Members

Protected Member Functions inherited from usmtf::ErrorManager
void AddError (const ValidationError &aError) noexcept
void AddError (const std::string &aFailureReason, const std::string &aValueValidatied, const std::string &aOptionalSuggestion="") noexcept
void AddError (const std::string &aErrorMessage) noexcept
void AddErrors (const std::vector< ValidationError > &aErrors) noexcept
void ClearErrors () noexcept
Protected Attributes inherited from usmtf::Set
std::string mSetTextFormat
std::vector< FieldmFields

Detailed Description

The Corridor Set is used to outline the positional details of a volume space that is shaped like a "rectangle tunnel". It consists of a polygon.


| \ / | |_____________ _________/ ________| \ / ___________________/

Note on corridor complexity: The points define the center mid point of each polygon volume, with the width we calculate the corners. Then, based on the heading of the next leg, we interpolate elbow and intersecting corners.

USMTF Example: CORRIDOR/5NM/LATM:3500N07900W/LATM:3530N07000W/LATM:3622N06957W/LATM:3619N06841W/LATM:3547N06715W/LATM:3505N06853W/

Standard Excerpt: CORRIDOR/ / R // 1 WIDTH IN NAUTICAL MILES, METERS, OR KILOMETERS 2 POSITION OR POINT

Detailed Document: CORRIDOR.UF.RTF

Constructor & Destructor Documentation

◆ Corridor()

usmtf::Corridor::Corridor ( const std::string & aSTF,
const std::vector< Field > & aFields )
noexcept

Member Function Documentation

◆ GetPoints()

const std::vector< LatLon > & usmtf::Corridor::GetPoints ( ) const
noexcept

◆ GetWidth()

const Radius & usmtf::Corridor::GetWidth ( ) const
noexcept

The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved