| Constructor and Description |
|---|
S1Interval(double lo,
double hi) |
S1Interval(S1Interval interval) |
| Modifier and Type | Method and Description |
|---|---|
S1Interval |
addPoint(double p) |
boolean |
approxEquals(S1Interval y) |
boolean |
approxEquals(S1Interval y,
double maxError) |
S1Interval |
complement() |
boolean |
contains(double p) |
boolean |
contains(S1Interval y) |
static S1Interval |
empty() |
boolean |
equals(Object that) |
S1Interval |
expanded(double radius) |
boolean |
fastContains(double p) |
static S1Interval |
fromPoint(double p) |
static S1Interval |
fromPointPair(double p1,
double p2) |
static S1Interval |
full() |
double |
getCenter() |
double |
getLength() |
int |
hashCode() |
double |
hi() |
boolean |
interiorContains(double p) |
boolean |
interiorContains(S1Interval y) |
boolean |
interiorIntersects(S1Interval y) |
S1Interval |
intersection(S1Interval y) |
boolean |
intersects(S1Interval y) |
boolean |
isEmpty() |
boolean |
isFull() |
boolean |
isInverted() |
boolean |
isValid() |
double |
lo() |
static double |
positiveDistance(double a,
double b) |
String |
toString() |
S1Interval |
union(S1Interval y) |
public S1Interval(double lo,
double hi)
public S1Interval(S1Interval interval)
public static S1Interval empty()
public static S1Interval full()
public static S1Interval fromPoint(double p)
public static S1Interval fromPointPair(double p1, double p2)
public double lo()
public double hi()
public boolean isValid()
public boolean isFull()
public boolean isEmpty()
public boolean isInverted()
public double getCenter()
public double getLength()
public S1Interval complement()
public boolean contains(double p)
public boolean fastContains(double p)
public boolean interiorContains(double p)
public boolean contains(S1Interval y)
public boolean interiorContains(S1Interval y)
public boolean intersects(S1Interval y)
public boolean interiorIntersects(S1Interval y)
public S1Interval addPoint(double p)
public S1Interval expanded(double radius)
public S1Interval union(S1Interval y)
public S1Interval intersection(S1Interval y)
public boolean approxEquals(S1Interval y, double maxError)
public boolean approxEquals(S1Interval y)
public boolean equals(Object that)
public int hashCode()
public String toString()
public static double positiveDistance(double a,
double b)
Copyright © 2017. All rights reserved.