WSF
usmtf::Polygon Class Reference

#include <Polygon.hpp>

Inheritance diagram for usmtf::Polygon:
Collaboration diagram for usmtf::Polygon:

Public Member Functions

 Polygon (const std::string &aSTF, const std::vector< Field > &aFields) noexcept
 Polygon (const Polygon &)=delete
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 Polygon Set is used to represent a complex shape defined by coordinates.


/ \ / ___ | | | | ____________/

USMTF Example: POLYGON/LATM:2037N05943E/LATS:203632N0594256E/LATS:203932N0594256E/LATS:203932N0604256E/LATM:2037N05943E//

Standard Excerpt: POLYGON/ R // 1 POSITION OR POINT

Detailed Document: POLYGON.UF.RTF

Constructor & Destructor Documentation

◆ Polygon() [1/2]

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

◆ Polygon() [2/2]

usmtf::Polygon::Polygon ( const Polygon & )
delete

References GetPoints(), and Polygon().

Member Function Documentation

◆ GetPoints()

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

Referenced by Polygon().


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