Class JtsShapeFactory.JtsLineStringBuilder
- java.lang.Object
-
- org.locationtech.spatial4j.shape.jts.JtsShapeFactory.CoordinatesAccumulator<JtsShapeFactory.JtsLineStringBuilder>
-
- org.locationtech.spatial4j.shape.jts.JtsShapeFactory.JtsLineStringBuilder
-
- All Implemented Interfaces:
ShapeFactory.LineStringBuilder
,ShapeFactory.PointsBuilder<ShapeFactory.LineStringBuilder>
- Enclosing class:
- JtsShapeFactory
private class JtsShapeFactory.JtsLineStringBuilder extends JtsShapeFactory.CoordinatesAccumulator<JtsShapeFactory.JtsLineStringBuilder> implements ShapeFactory.LineStringBuilder
-
-
Field Summary
Fields Modifier and Type Field Description protected double
bufDistance
-
Fields inherited from class org.locationtech.spatial4j.shape.jts.JtsShapeFactory.CoordinatesAccumulator
coordinates
-
-
Constructor Summary
Constructors Constructor Description JtsLineStringBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShapeFactory.LineStringBuilder
buffer(double distance)
Shape
build()
(package private) org.locationtech.jts.geom.LineString
buildLineStringGeom()
-
Methods inherited from class org.locationtech.spatial4j.shape.jts.JtsShapeFactory.CoordinatesAccumulator
getCoordsArray, getThis, pointXY, pointXYZ
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.locationtech.spatial4j.shape.ShapeFactory.PointsBuilder
pointLatLon, pointXY, pointXYZ
-
-
-
-
Method Detail
-
buffer
public ShapeFactory.LineStringBuilder buffer(double distance)
- Specified by:
buffer
in interfaceShapeFactory.LineStringBuilder
-
build
public Shape build()
- Specified by:
build
in interfaceShapeFactory.LineStringBuilder
-
buildLineStringGeom
org.locationtech.jts.geom.LineString buildLineStringGeom()
-
-