21 #ifndef GEOS_OPERATION_ISSIMPLEOP_H
22 #define GEOS_OPERATION_ISSIMPLEOP_H
24 #include <geos/export.h>
25 #include <geos/geom/Coordinate.h>
32 #pragma warning(disable: 4251)
38 class BoundaryNodeRule;
43 class MultiLineString;
47 class GeometryCollection;
48 struct CoordinateLessThen;
147 return nonSimpleLocation.get();
210 bool isClosedEndpointsInInterior;
216 std::unique_ptr<geom::Coordinate> nonSimpleLocation;
An interface for rules which determine whether node points which are in boundaries of lineal geometry...
Definition: BoundaryNodeRule.h:51
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:60
Represents a collection of heterogeneous Geometry objects.
Definition: GeometryCollection.h:55
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:188
Definition: LineString.h:68
Models a collection of LineStrings.
Definition: MultiLineString.h:51
Definition: MultiPoint.h:54
A GeometryGraph is a graph that models a given Geometry.
Definition: GeometryGraph.h:74
Tests whether a Geometry is simple.
Definition: IsSimpleOp.h:96
IsSimpleOp(const geom::Geometry &geom)
Creates a simplicity checker using the default SFS Mod-2 Boundary Node Rule.
bool isSimple(const geom::MultiLineString *geom)
Reports whether a geom::MultiLineString is simple.
IsSimpleOp()
Creates a simplicity checker using the default SFS Mod-2 Boundary Node Rule.
IsSimpleOp(const geom::Geometry &geom, const algorithm::BoundaryNodeRule &boundaryNodeRule)
Creates a simplicity checker using a given algorithm::BoundaryNodeRule.
bool isSimple()
Tests whether the geometry is simple.
bool isSimple(const geom::MultiPoint *mp)
A MultiPoint is simple iff it has no repeated points.
const geom::Coordinate * getNonSimpleLocation() const
Gets a coordinate for the location where the geometry fails to be simple (i.e. where it has a non-bou...
Definition: IsSimpleOp.h:145
bool isSimple(const geom::LineString *geom)
Reports whether a geom::LineString is simple.
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:26
Strict weak ordering Functor for Coordinate.
Definition: Coordinate.h:125