19 #ifndef GEOS_GEOM_INTERSECTIONMATRIX_H 20 #define GEOS_GEOM_INTERSECTIONMATRIX_H 95 bool matches(
const std::string& requiredDimensionSymbols)
const;
109 static bool matches(
int actualDimensionValue,
110 char requiredDimensionSymbol);
124 static bool matches(
const std::string& actualDimensionSymbols,
125 const std::string& requiredDimensionSymbols);
159 void set(
const std::string& dimensionSymbols);
195 void setAtLeastIfValid(
Location row,
Location column,
int minimumDimensionValue);
207 void setAtLeast(std::string minimumDimensionSymbols);
217 void setAll(
int dimensionValue);
233 return matrix[
static_cast<size_t>(row)][static_cast<size_t>(column)];
242 bool isDisjoint()
const;
250 bool isIntersects()
const;
264 bool isTouches(
int dimensionOfGeometryA,
int dimensionOfGeometryB)
284 bool isCrosses(
int dimensionOfGeometryA,
int dimensionOfGeometryB)
292 bool isWithin()
const;
299 bool isContains()
const;
310 bool isEquals(
int dimensionOfGeometryA,
int dimensionOfGeometryB)
326 bool isOverlaps(
int dimensionOfGeometryA,
int dimensionOfGeometryB)
337 bool isCovers()
const;
348 bool isCoveredBy()
const;
367 std::string toString()
const;
376 std::array<std::array<int, 3>, 3>
matrix;
386 #endif // ndef GEOS_GEOM_INTERSECTIONMATRIX_H
Implementation of Dimensionally Extended Nine-Intersection Model (DE-9IM) matrix. ...
static const int secondDim
std::ostream & operator<<(std::ostream &os, const Coordinate &c)
Output function.
static const int firstDim
Location
Constants representing the location of a point relative to a geometry.
Basic namespace for all GEOS functionalities.
std::array< std::array< int, 3 >, 3 > matrix