Go to the documentation of this file.
8 #ifndef FIELDS2COVER_TYPES_CELLS_H_
9 #define FIELDS2COVER_TYPES_CELLS_H_
11 #include <gdal/ogr_geometry.h>
26 explicit Cells(
const OGRGeometry* geom);
87 template <
class T, OGRwkbGeometryType R>
98 template <
class T, OGRwkbGeometryType R>
102 OGRGeometryFactory::destroyGeometry(
buffer);
109 #endif // FIELDS2COVER_TYPES_CELLS_H_
Cells unionOp(const Cell &c) const
Types used by fields2cover library.
Point closestPointOnBorderTo(const Point &p) const
static Cells intersection(const Cell &cell, const Cell &c)
void addGeometry(const Cell &c)
const LinearRing getCellBorder(size_t i) const
LineString createSemiLongLine(const Point &point, double angle) const
OGRGeometry * OGRBuffer(double dfDist, int side=0) const
Cells splitByLine(const LineString &line) const
Cells unionCascaded() const
Cells difference(const Cell &c) const
Cells getCellsInside(const Cells &cell) const
const Cell getCell(size_t i) const
MultiLineString getLinesInside(const LineString &line) const
LineString createLineUntilBorder(const f2c::types::Point &p, double ang) const
void operator*=(double b)
void setGeometry(size_t i, const Cell &cell)
void getGeometry(size_t i, Cell &cell)
bool isPointIn(const Point &p) const
void addRing(size_t i, const LinearRing &ring)
static Cells buffer(const Geometry< T, R > &geom, double width, int side=0)
const Cell getCellWherePoint(const Point &p) const
LineString createStraightLongLine(const Point &point, double angle) const
bool isPointInBorder(const Point &p) const
const LinearRing getInteriorRing(size_t i_cell, size_t i_ring) const
fields2cover
Author(s):
autogenerated on Fri Apr 25 2025 02:18:31