17#include <geos/export.h>
18#include <geos/geom/LineSegment.h>
32class GEOS_DLL Rectangle {
33 using CoordinateXY = geos::geom::CoordinateXY;
34 using GeometryFactory = geos::geom::GeometryFactory;
35 using LineSegment = geos::geom::LineSegment;
36 using Polygon = geos::geom::Polygon;
63 static std::unique_ptr<Polygon>
65 const CoordinateXY& baseRightPt,
66 const CoordinateXY& baseLeftPt,
67 const CoordinateXY& oppositePt,
68 const CoordinateXY& leftSidePt,
69 const CoordinateXY& rightSidePt,
70 const GeometryFactory* factory);
84 computeLineEquationC(
double a,
double b,
const CoordinateXY& p);
87 createLineForStandardEquation(
double a,
double b,
double c);
Coordinate is the lightweight class used to store coordinates.
Definition Coordinate.h:217
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition GeometryFactory.h:70
Represents a linear polygon, which may include holes.
Definition Polygon.h:61
Contains classes and interfaces implementing fundamental computational geometry algorithms.
Definition Angle.h:32
Basic namespace for all GEOS functionalities.
Definition geos.h:38