S1Interval

Undocumented in source.

Constructors

this
this(double lo, double hi)
Undocumented in source.

Members

Functions

addPoint
void addPoint(double p)
Undocumented in source.
approxEquals
bool approxEquals(S1Interval y, double max_error)
Undocumented in source. Be warned that the author may not have intended to support it.
complement
S1Interval complement()
Undocumented in source. Be warned that the author may not have intended to support it.
contains
bool contains(double p)
Undocumented in source.
contains
bool contains(S1Interval y)
Undocumented in source. Be warned that the author may not have intended to support it.
expanded
S1Interval expanded(double margin)
Undocumented in source. Be warned that the author may not have intended to support it.
getCenter
double getCenter()
Undocumented in source. Be warned that the author may not have intended to support it.
getComplementCenter
double getComplementCenter()
Undocumented in source. Be warned that the author may not have intended to support it.
getDirectedHausdorffDistance
double getDirectedHausdorffDistance(S1Interval y)
Undocumented in source.
getLength
double getLength()
Undocumented in source. Be warned that the author may not have intended to support it.
interiorContains
bool interiorContains(double p)
Undocumented in source.
interiorContains
bool interiorContains(S1Interval y)
Undocumented in source. Be warned that the author may not have intended to support it.
interiorIntersects
bool interiorIntersects(S1Interval y)
Undocumented in source. Be warned that the author may not have intended to support it.
intersection
S1Interval intersection(S1Interval y)
Undocumented in source. Be warned that the author may not have intended to support it.
intersects
bool intersects(S1Interval y)
Undocumented in source. Be warned that the author may not have intended to support it.
isEmpty
bool isEmpty()
Undocumented in source. Be warned that the author may not have intended to support it.
isFull
bool isFull()
Undocumented in source. Be warned that the author may not have intended to support it.
isInverted
bool isInverted()
Undocumented in source. Be warned that the author may not have intended to support it.
isValid
bool isValid()
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(S1Interval y)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
double opIndex(size_t i)
Undocumented in source. Be warned that the author may not have intended to support it.
project
double project(double p)
Undocumented in source.
setHi
void setHi(double p)
Undocumented in source.
setLo
void setLo(double p)
Undocumented in source.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.
unite
S1Interval unite(S1Interval y)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

bounds
Vector2_d bounds [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
hi
double hi [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
lo
double lo [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

empty
S1Interval empty()
Undocumented in source. Be warned that the author may not have intended to support it.
fromPoint
S1Interval fromPoint(double p)
Undocumented in source. Be warned that the author may not have intended to support it.
fromPointPair
S1Interval fromPointPair(double p1, double p2)
Undocumented in source.
full
S1Interval full()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta