MCPcopy Create free account
hub / github.com/Fields2Cover/Fields2Cover / buffer

Method buffer

include/fields2cover/types/Cells.h:99–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97
98template <class T, OGRwkbGeometryType R>
99Cells Cells::buffer(const Geometry<T, R>& geom, double width, int side) {
100 OGRGeometry* buffer = geom.OGRBuffer(width, side);
101 Cells cells {buffer};
102 OGRGeometryFactory::destroyGeometry(buffer);
103 return cells;
104}
105
106
107} // namespace f2c::types

Callers

nothing calls this directly

Calls 1

OGRBufferMethod · 0.80

Tested by

no test coverage detected