KrisLibrary
1.0.0
|
A polyline with vertices ordered in nondecreasing order. More...
#include <MonotoneChain.h>
Public Member Functions | |
Real | eval (Real x) const |
void | upperEnvelope (const XMonotoneChain &) |
Real | minimum (Real a, Real b, Real *x) |
bool | isValid () const |
Static Public Member Functions | |
static void | SelfTest () |
Public Attributes | |
std::vector< Vector2 > | v |
A polyline with vertices ordered in nondecreasing order.
Need v[i].x <= v[i+1].x if equality holds, then v[i].y < v[i+1].y.