Class AbstractLine
java.lang.Object
net.buildtheearth.terraminusminus.dataset.vector.geometry.AbstractVectorGeometry
net.buildtheearth.terraminusminus.dataset.vector.geometry.line.AbstractLine
- All Implemented Interfaces:
Comparable<VectorGeometry>,VectorGeometry,Bounds2d
- Direct Known Subclasses:
NarrowLine,SharpLine,WideLine
-
Field Summary
FieldsFields inherited from class net.buildtheearth.terraminusminus.dataset.vector.geometry.AbstractVectorGeometry
draw, id, layer -
Constructor Summary
ConstructorsConstructorDescriptionAbstractLine(@NonNull String id, double layer, @NonNull DrawFunction draw, @NonNull MultiLineString lines) -
Method Summary
Methods inherited from class net.buildtheearth.terraminusminus.dataset.vector.geometry.AbstractVectorGeometry
canEqual, convertToSegments, draw, equals, hashCode, id, layerMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.buildtheearth.terraminusminus.util.bvh.Bounds2d
contains, expand, intersects, toCornerBB, toTiles, union, validateMethods inherited from interface net.buildtheearth.terraminusminus.dataset.vector.geometry.VectorGeometry
apply, compareTo
-
Field Details
-
segments
-
-
Constructor Details
-
AbstractLine
public AbstractLine(@NonNull @NonNull String id, double layer, @NonNull @NonNull DrawFunction draw, @NonNull @NonNull MultiLineString lines)
-
-
Method Details
-
minX
public double minX()- Returns:
- the minimum X coordinate
-
maxX
public double maxX()- Returns:
- the maximum X coordinate
-
minZ
public double minZ()- Returns:
- the minimum Z coordinate
-
maxZ
public double maxZ()- Returns:
- the maximum Z coordinate
-
segments
-