MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / growBoundingBox

Function growBoundingBox

src/serializers/SvgSerializer.h:635–635  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

633 void addYCoordinate(const boost::shared_ptr<util::string_buffer::float_item>& fi) { ycoords.push_back(fi); }
634 void addSizeComponent(const boost::shared_ptr<util::string_buffer::float_item>& fi) { radii.push_back(fi); }
635 void growBoundingBox(double x, double y) { if (x < xmin) xmin = x; if (x > xmax) xmax = x; if (y < ymin) ymin = y; if (y > ymax) ymax = y; }
636 void writeHeader();
637 void doWriteHeader();
638 bool ready();

Callers 1

writeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected