GEOS 3.14.0dev
CircularArcs.h
1/**********************************************************************
2 *
3 * GEOS - Geometry Engine Open Source
4 * http://geos.osgeo.org
5 *
6 * Copyright (C) 2024 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 <geos/geom/Coordinate.h>
19#include <geos/geom/Envelope.h>
20
21namespace geos {
22namespace algorithm {
23
24class GEOS_DLL CircularArcs {
25public:
26
28 static geom::CoordinateXY getCenter(const geom::CoordinateXY& p0, const geom::CoordinateXY& p1,
29 const geom::CoordinateXY& p2);
30
32 static void expandEnvelope(geom::Envelope& e, const geom::CoordinateXY& p0, const geom::CoordinateXY& p1,
33 const geom::CoordinateXY& p2);
34};
35
36}
37}
Basic namespace for all GEOS functionalities.
Definition geos.h:39