WSF
usmtf::Circle Class Reference

The Circle Set is used to provide a single position with a radius specifying width. More...

#include <Circle.hpp>

Inheritance diagram for usmtf::Circle:
Collaboration diagram for usmtf::Circle:

Public Member Functions

 Circle (const std::string &aSTF, const std::vector< Field > &aFields) noexcept
const LatLonGetCenterOfCircle () const noexcept
const RadiusGetRadius () 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 Circle Set is used to provide a single position with a radius specifying width.

Example: CIRCLE/LATS:203632N0594256E/15NM//

USMTF Standard Excerpt: CIRCLE/ / // 1 CENTER OF CIRCLE 2 RADIUS IN NAUTICAL MILES, METERS, OR KILOMETERS

Detailed Document: CIRCLE.UF.RTF

Constructor & Destructor Documentation

◆ Circle()

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

Member Function Documentation

◆ GetCenterOfCircle()

const LatLon & usmtf::Circle::GetCenterOfCircle ( ) const
noexcept

◆ GetRadius()

const Radius & usmtf::Circle::GetRadius ( ) const
noexcept

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