Class AbstractLine
java.lang.Object
net.buildtheearth.terracore.worldgen.dataset.vector.geometry.AbstractVectorGeometry
net.buildtheearth.terracore.worldgen.dataset.vector.geometry.line.AbstractLine
- All Implemented Interfaces:
Comparable<VectorGeometry>,net.buildtheearth.terracore.geo.bvh.Bounds2d,VectorGeometry
- Direct Known Subclasses:
NarrowLine,SharpLine,WideLine
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final net.buildtheearth.terracore.geo.bvh.BVH<Segment> Fields inherited from class net.buildtheearth.terracore.worldgen.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.terracore.worldgen.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.terracore.geo.bvh.Bounds2d
contains, expand, intersects, toCornerBB, toTiles, union, validateMethods inherited from interface net.buildtheearth.terracore.worldgen.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() -
maxX
public double maxX() -
minZ
public double minZ() -
maxZ
public double maxZ() -
segments
-