| 196 | |
| 197 | |
| 198 | inline MetadataNode toMetadata(const BOX2D& bounds) |
| 199 | { |
| 200 | MetadataNode output("bbox"); |
| 201 | output.add("minx", bounds.minx); |
| 202 | output.add("miny", bounds.miny); |
| 203 | output.add("maxx", bounds.maxx); |
| 204 | output.add("maxy", bounds.maxy); |
| 205 | return output; |
| 206 | } |
| 207 | |
| 208 | inline MetadataNode toMetadata(const BOX3D& bounds) |
| 209 | { |
no test coverage detected