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

Function addYCoordinate

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

Source from the content-addressed store, hash-verified

631 {}
632 void addXCoordinate(const boost::shared_ptr<util::string_buffer::float_item>& fi) { xcoords.push_back(fi); }
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();

Callers 1

writeMethod · 0.85

Calls 1

push_backMethod · 0.80

Tested by

no test coverage detected