WSF
Polygon.hpp
Go to the documentation of this file.
1// ****************************************************************************
2// CUI
3//
4// The Advanced Framework for Simulation, Integration, and Modeling (AFSIM)
5//
6// Copyright 2019 Infoscitex, a DCS Company. All rights reserved.
7//
8// The use, dissemination or disclosure of data in this file is subject to
9// limitation or restriction. See accompanying README and LICENSE for details.
10// ****************************************************************************
11
12#ifndef POLYGON_HPP
13#define POLYGON_HPP
14
15#include "usmtf_export.h"
16
17#include <memory>
18#include <string>
19#include <vector>
20
21#include "Field.hpp"
22#include "LatLon.hpp"
23#include "Set.hpp"
24#include "UtLLPos.hpp"
25
26namespace usmtf
27{
28
50class USMTF_EXPORT Polygon : public Set
51{
52public:
53 Polygon(const std::string& aSTF, const std::vector<Field>& aFields) noexcept;
54 Polygon(const Polygon&) = delete;
55 const std::vector<LatLon>& GetPoints() const noexcept;
56
57private:
58 bool AreAllPointsValid();
59 std::vector<LatLon> mPoints;
60};
61} // namespace usmtf
62
63#endif
B.POSITION OR ROUTE POINT, LAT / LONG, SECONDS.
Definition LatLon.hpp:78
Polygon(const std::string &aSTF, const std::vector< Field > &aFields) noexcept
Definition Polygon.cpp:20
const std::vector< LatLon > & GetPoints() const noexcept
Definition Polygon.cpp:37
Polygon(const Polygon &)=delete
Set(const std::string &aSTF, const std::vector< Field > &aFields) noexcept
Definition Set.cpp:22
Template specialization for wsf::comm::Address. Allows usage of Address in std::unordered_map/set.
Definition WsfCommAddress.hpp:185
Definition Acmid.cpp:17
Copyrights Multiple, All Rights Reserved