8#ifndef W_DISCONTINUITY_COMPONENT_HPP
9#define W_DISCONTINUITY_COMPONENT_HPP
77 std::vector< std::pair< double, double > > mExcludedIntervals;
Component()
Protected constructor to restrict instantiation to derived classes.
Definition wComponent.cpp:17
const std::vector< std::pair< double, double > > & getExcludedIntervals() const
Gives read-only access to the list of excluded intervals.
Definition wDiscontinuityComponent.cpp:17
DiscontinuityComponent()=default
virtual ~DiscontinuityComponent()=default
bool isInExcludedInterval(double x) const
Checks if a value falls into one of the excluded intervals.
Definition wDiscontinuityComponent.cpp:42
void clearExcludedIntervals()
Removes all excluded intervals.
Definition wDiscontinuityComponent.cpp:37
void addExcludedInterval(double min, double max)
Adds an excluded interval to the list.
Definition wDiscontinuityComponent.cpp:28
void debugPrint() const
Definition wDiscontinuityComponent.cpp:60
Definition wColorComponent.cpp:9