Skip to content

Add min() and max() method to get the extent of a tree.#21

Open
BenFrantzDale wants to merge 8 commits into
ekg:masterfrom
Formlabs:master
Open

Add min() and max() method to get the extent of a tree.#21
BenFrantzDale wants to merge 8 commits into
ekg:masterfrom
Formlabs:master

Conversation

@BenFrantzDale

Copy link
Copy Markdown
Contributor

No description provided.

BenFrantzDale and others added 3 commits March 16, 2018 12:28
Reorder template arguments so it's more like std::map
Add min/max functions to get the extent of the tree.
Comment thread IntervalTree.h
return std::min_element(intervals.begin(), intervals.end(),
IntervalStartCmp())->start;
}
Scalar max() const {

@BenFrantzDale BenFrantzDale Apr 13, 2018

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this correct, or do we need to do max of right->max() and everything in this tree node?

@ekg

ekg commented Apr 20, 2018 via email

Copy link
Copy Markdown
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants