[apps/shared] computeYRange clips tMin..tMax to xMin..xMax if possible

This commit is contained in:
Léa Saviot
2019-08-30 10:17:12 +02:00
parent 8c7819306a
commit 850170e33b
4 changed files with 7 additions and 0 deletions

View File

@@ -34,6 +34,7 @@ public:
void setActive(bool active);
// Definition Interval
virtual bool shouldClipTRangeToXRange() const { return true; } // Returns true if the function will not be displayed if t is outside x range.
virtual double tMin() const { return NAN; }
virtual double tMax() const { return NAN; }