https://github.com/GTMeijer/TIN_Viewsheds
Raw File
Tip revision: 3228d926579e0631b255e7478f24963a508637b4 authored by Gert Meijer on 06 May 2021, 03:42:18 UTC
Base code files push
Tip revision: 3228d92
Viewshed.h
#pragma once

namespace Viewshed
{
    class Viewshed
    {
    public:
        Viewshed();
        Viewshed(const Delaunay& DT, const Point_3& viewpoint);

        ViewshedArrangement viewshed;

        void OverlayViewsheds(const ViewshedArrangement& otherViewshed);
        int Complexity() const;

        void Draw(std::string title, bool hideVerts, bool hideFaces) const;

        void WriteToFile(const std::filesystem::path& filePath) const;
        void ReadFromFile(const std::filesystem::path& filePath);
        void WriteToIpe(const std::filesystem::path& filePath) const;
    };
}
back to top