GEOS 3.15.0beta3
DirectionIndependentArcString.h
1/**********************************************************************
2*
3 * GEOS - Geometry Engine Open Source
4 * http://geos.osgeo.org
5 *
6 * Copyright (C) 2026 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 <memory>
18#include <geos/export.h>
19
20
21namespace geos::noding {
22class ArcString;
23}
24
25namespace geos::noding {
26
32
33public:
34
35 explicit DirectionIndependentArcString(const ArcString& as) : m_as(as) {}
36
37 const ArcString& getArcString() const
38 {
39 return m_as;
40 }
41
42 bool operator==(const DirectionIndependentArcString& other) const;
43
44private:
45 const ArcString& m_as;
46};
47}
48
49template<>
50struct GEOS_DLL std::hash<geos::noding::DirectionIndependentArcString> {
51 std::size_t operator()(const geos::noding::DirectionIndependentArcString& as) const noexcept;
52};
An interface for classes which represent a sequence of contiguous circular arcs, analogous to the Seg...
Definition ArcString.h:30
Definition DirectionIndependentArcString.h:31
Classes to compute nodings for arrangements of line segments and line segment sequences.
Definition CoverageCleaner.h:42