public class DistEntry<T> extends Entry<T> implements RectangleEntryDist<T>
| Constructor and Description |
|---|
DistEntry(double[] min,
double[] max,
T val,
double dist)
Create a new entry with distance
|
| Modifier and Type | Method and Description |
|---|---|
double |
dist()
An entry with distance property.
|
void |
set(double[] lower,
double[] upper,
T val,
double distance) |
protected void |
set(Entry<T> e,
double distance) |
String |
toString() |
calcArea, calcBoundingBox, calcCenterDistance, calcDeadspace, calcIncludes, calcMargin, calcOverlap, calcVolume, calcVolume, checkExactMatch, checkInclusion, checkOverlap, compareTo, lower, set, set, setToCover, upper, valueclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitlower, upper, valuepublic DistEntry(double[] min,
double[] max,
T val,
double dist)
min - minmax - maxval - valuedist - distancepublic double dist()
RectangleEntryDistdist in interface RectangleEntryDist<T>public void set(double[] lower,
double[] upper,
T val,
double distance)
Copyright © 2018. All rights reserved.