Class Segment
java.lang.Object
net.buildtheearth.terraminusminus.dataset.vector.geometry.Segment
A simple representation of a line segment as a pair of two sets of coordinates.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.buildtheearth.terraminusminus.util.bvh.Bounds2d
contains, expand, intersects, toCornerBB, toTiles, union, validate
-
Field Details
-
x0
protected final double x0 -
z0
protected final double z0 -
x1
protected final double x1 -
z1
protected final double z1
-
-
Constructor Details
-
Segment
public Segment(double x0, double z0, double x1, double z1)
-
-
Method Details
-
minX
public double minX() -
maxX
public double maxX() -
minZ
public double minZ() -
maxZ
public double maxZ() -
min
public double min() -
max
public double max() -
x0
public double x0() -
z0
public double z0() -
x1
public double x1() -
z1
public double z1() -
toString
-
equals
-
hashCode
public int hashCode()
-