MCPcopy Create free account
hub / github.com/alandefreitas/matplotplusplus / delete_contour_lines

Method delete_contour_lines

source/matplot/util/contourc.cpp:241–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239 Contour::~Contour() { delete_contour_lines(); }
240
241 void Contour::delete_contour_lines() {
242 for (iterator line_it = begin(); line_it != end(); ++line_it) {
243 delete *line_it;
244 *line_it = 0;
245 }
246 std::vector<ContourLine *>::clear();
247 }
248
249 void Contour::write() const {
250 std::cout << "Contour of " << size() << " lines." << std::endl;

Calls 2

beginFunction · 0.85
endFunction · 0.85

Tested by

no test coverage detected