mirror of https://github.com/CGAL/cgal
more renaming
This commit is contained in:
parent
ac7d2a2dea
commit
b877fc39fb
|
|
@ -252,7 +252,7 @@ std::ostream& statistics(std::ostream& s) const;
|
|||
Inserts the tree in the <a href="https://graphviz.org/">`Graphviz`</a> format
|
||||
into the output stream `s`.
|
||||
*/
|
||||
std::ostream& print(std::ostream& s) const;
|
||||
std::ostream& write_graphviz(std::ostream& s) const;
|
||||
|
||||
/// @}
|
||||
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ void test_print(const std::string filename) {
|
|||
// Use this command to print in png:
|
||||
// dot -Tpng tree.graphviz > tree.png
|
||||
std::ofstream outfile("tree.graphviz");
|
||||
tree.print(outfile);
|
||||
tree.write_graphviz(outfile);
|
||||
|
||||
assert(tree.root()->num_items() == points.size());
|
||||
assert(tree.root()->num_nodes() == 8);
|
||||
|
|
|
|||
Loading…
Reference in New Issue