GEOS 3.15.0dev
TraversalAreas.h
1/**********************************************************************
2 *
3 * GEOS - Geometry Engine Open Source
4 * http://geos.osgeo.org
5 *
6 * Copyright (C) 2018-2025 ISciences, LLC
7 *
8 * This is free software; you can redistribute and/or modify it under
9 * the terms of the GNU Lesser General Public Licence as published
10 * by the Free Software Foundation.
11 * See the COPYING file for more information.
12 *
13 **********************************************************************/
14
15#pragma once
16
17#include <geos/export.h>
18#include <vector>
19
20namespace geos::operation::grid {
21
22class Traversal;
23
24class GEOS_DLL TraversalAreas {
25public:
36 static double
37 getLeftHandArea(const geom::Envelope& box, const std::vector<const Traversal*>& coord_lists);
38
50 static std::unique_ptr<geom::Geometry>
51 getLeftHandRings(const geom::GeometryFactory& gfact, const geom::Envelope& box, const std::vector<const Traversal*>& coord_lists);
52
53};
54
55}