10 template <
typename Real>
15 DYN_FUNC
Interval(
Real min_val,
Real max_val,
bool lOpen =
false,
bool rOpen =
false);
DYN_FUNC void setRightLimit(Real val, bool bOpen=false)
DYN_FUNC void setLeftLimit(Real val, bool bOpen=false)
DYN_FUNC bool inside(Real val) const
static DYN_FUNC Interval< Real > unitInterval()
DYN_FUNC bool operator!=(const Interval< Real > &interval)
DYN_FUNC Real rightLimit() const
DYN_FUNC bool isRightOpen() const
DYN_FUNC Real leftLimit() const
DYN_FUNC bool isLeftOpen() const
DYN_FUNC bool isEmpty() const
DYN_FUNC Interval< Real > & operator=(const Interval< Real > &interval)
DYN_FUNC Real size() const
DYN_FUNC Interval< Real > intersect(const Interval< Real > &itv) const
DYN_FUNC bool outside(Real val) const
DYN_FUNC bool operator==(const Interval< Real > &interval)
This is an implementation of AdditiveCCD based on peridyno.