| 97 | |
| 98 | template <class T, OGRwkbGeometryType R> |
| 99 | Cells 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 |