#include <opennurbs_point.h>
Public Member Functions | |
int | Compare (const ON_Interval &other) const |
void | Destroy () |
bool | Includes (double t, bool bTestOpenInterval=false) const |
bool | Includes (const ON_Interval &other, bool bProperSubSet=false) const |
bool | Intersection (const ON_Interval &) |
bool | Intersection (const ON_Interval &, const ON_Interval &) |
bool | IsDecreasing () const |
bool | IsEmptyInterval () const |
bool | IsEmptySet () const |
bool | IsIncreasing () const |
bool | IsInterval () const |
bool | IsSingleton () const |
bool | IsValid () const |
double | Length () const |
bool | MakeIncreasing () |
double | Max () const |
double | Mid () const |
double | Min () const |
double | NormalizedParameterAt (double interval_parameter) const |
ON_Interval | NormalizedParameterAt (ON_Interval interval_parameter) const |
ON_Interval () | |
ON_Interval (double t0, double t1) | |
bool | operator!= (const ON_Interval &) const |
bool | operator== (const ON_Interval &) const |
double & | operator[] (int) |
double | operator[] (int) const |
double & | operator[] (unsigned int) |
double | operator[] (unsigned int) const |
double | ParameterAt (double normalized_parameter) const |
ON_Interval | ParameterAt (ON_Interval normalized_interval) const |
void | Reverse () |
void | Set (double t0, double t1) |
void | Swap () |
bool | Union (const ON_Interval &) |
bool | Union (double t) |
bool | Union (int count, const double *t) |
bool | Union (const ON_Interval &, const ON_Interval &) |
~ON_Interval () | |
Public Attributes | |
double | m_t [2] |
Static Public Attributes | |
static const ON_Interval | EmptyInterval |
Definition at line 48 of file opennurbs_point.h.
Definition at line 31 of file opennurbs_point.cpp.
ON_Interval::ON_Interval | ( | double | t0, |
double | t1 | ||
) |
Definition at line 36 of file opennurbs_point.cpp.
Definition at line 41 of file opennurbs_point.cpp.
int ON_Interval::Compare | ( | const ON_Interval & | other | ) | const |
Definition at line 191 of file opennurbs_point.cpp.
void ON_Interval::Destroy | ( | ) |
Definition at line 62 of file opennurbs_point.cpp.
bool ON_Interval::Includes | ( | double | t, |
bool | bTestOpenInterval = false |
||
) | const |
Definition at line 205 of file opennurbs_point.cpp.
bool ON_Interval::Includes | ( | const ON_Interval & | other, |
bool | bProperSubSet = false |
||
) | const |
Definition at line 224 of file opennurbs_point.cpp.
bool ON_Interval::Intersection | ( | const ON_Interval & | other | ) |
Definition at line 260 of file opennurbs_point.cpp.
bool ON_Interval::Intersection | ( | const ON_Interval & | ain, |
const ON_Interval & | bin | ||
) |
Definition at line 292 of file opennurbs_point.cpp.
bool ON_Interval::IsDecreasing | ( | ) | const |
Definition at line 130 of file opennurbs_point.cpp.
bool ON_Interval::IsEmptyInterval | ( | ) | const |
Definition at line 149 of file opennurbs_point.cpp.
bool ON_Interval::IsEmptySet | ( | ) | const |
Definition at line 155 of file opennurbs_point.cpp.
bool ON_Interval::IsIncreasing | ( | ) | const |
Definition at line 124 of file opennurbs_point.cpp.
bool ON_Interval::IsInterval | ( | ) | const |
Definition at line 136 of file opennurbs_point.cpp.
bool ON_Interval::IsSingleton | ( | ) | const |
Definition at line 143 of file opennurbs_point.cpp.
bool ON_Interval::IsValid | ( | ) | const |
Definition at line 161 of file opennurbs_point.cpp.
double ON_Interval::Length | ( | ) | const |
Definition at line 118 of file opennurbs_point.cpp.
bool ON_Interval::MakeIncreasing | ( | ) |
Definition at line 168 of file opennurbs_point.cpp.
double ON_Interval::Max | ( | ) | const |
Definition at line 106 of file opennurbs_point.cpp.
double ON_Interval::Mid | ( | ) | const |
Definition at line 112 of file opennurbs_point.cpp.
double ON_Interval::Min | ( | ) | const |
Definition at line 57 of file opennurbs_point.cpp.
double ON_Interval::NormalizedParameterAt | ( | double | interval_parameter | ) | const |
Definition at line 83 of file opennurbs_point.cpp.
ON_Interval ON_Interval::NormalizedParameterAt | ( | ON_Interval | interval_parameter | ) | const |
Definition at line 97 of file opennurbs_point.cpp.
bool ON_Interval::operator!= | ( | const ON_Interval & | other | ) | const |
Definition at line 178 of file opennurbs_point.cpp.
bool ON_Interval::operator== | ( | const ON_Interval & | other | ) | const |
Definition at line 184 of file opennurbs_point.cpp.
double & ON_Interval::operator[] | ( | int | i | ) |
Definition at line 45 of file opennurbs_point.cpp.
double ON_Interval::operator[] | ( | int | i | ) | const |
Definition at line 51 of file opennurbs_point.cpp.
double& ON_Interval::operator[] | ( | unsigned | int | ) |
double ON_Interval::operator[] | ( | unsigned | int | ) | const |
double ON_Interval::ParameterAt | ( | double | normalized_parameter | ) | const |
Definition at line 73 of file opennurbs_point.cpp.
ON_Interval ON_Interval::ParameterAt | ( | ON_Interval | normalized_interval | ) | const |
Definition at line 78 of file opennurbs_point.cpp.
void ON_Interval::Reverse | ( | ) |
Definition at line 236 of file opennurbs_point.cpp.
void ON_Interval::Set | ( | double | t0, |
double | t1 | ||
) |
Definition at line 67 of file opennurbs_point.cpp.
void ON_Interval::Swap | ( | ) |
Definition at line 246 of file opennurbs_point.cpp.
bool ON_Interval::Union | ( | const ON_Interval & | other | ) |
Definition at line 325 of file opennurbs_point.cpp.
bool ON_Interval::Union | ( | double | t | ) |
Definition at line 423 of file opennurbs_point.cpp.
bool ON_Interval::Union | ( | int | count, |
const double * | t | ||
) |
Definition at line 358 of file opennurbs_point.cpp.
bool ON_Interval::Union | ( | const ON_Interval & | ain, |
const ON_Interval & | bin | ||
) |
Definition at line 437 of file opennurbs_point.cpp.
const ON_Interval ON_Interval::EmptyInterval [static] |
Definition at line 52 of file opennurbs_point.h.
double ON_Interval::m_t[2] |
Definition at line 66 of file opennurbs_point.h.