Package org.locationtech.spatial4j.io
Class OnePointsBuilder
- java.lang.Object
-
- org.locationtech.spatial4j.io.OnePointsBuilder
-
- All Implemented Interfaces:
ShapeFactory.PointsBuilder<OnePointsBuilder>
public class OnePointsBuilder extends java.lang.Object implements ShapeFactory.PointsBuilder<OnePointsBuilder>
INTERNAL class used by someShapeReader
s.
-
-
Field Summary
Fields Modifier and Type Field Description private Point
point
private ShapeFactory
shapeFactory
-
Constructor Summary
Constructors Constructor Description OnePointsBuilder(ShapeFactory shapeFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Point
getPoint()
OnePointsBuilder
pointLatLon(double latitude, double longitude)
OnePointsBuilder
pointXY(double x, double y)
OnePointsBuilder
pointXYZ(double x, double y, double z)
-
-
-
Field Detail
-
shapeFactory
private ShapeFactory shapeFactory
-
point
private Point point
-
-
Constructor Detail
-
OnePointsBuilder
public OnePointsBuilder(ShapeFactory shapeFactory)
-
-
Method Detail
-
pointXY
public OnePointsBuilder pointXY(double x, double y)
- Specified by:
pointXY
in interfaceShapeFactory.PointsBuilder<OnePointsBuilder>
- See Also:
ShapeFactory.pointXY(double, double)
-
pointXYZ
public OnePointsBuilder pointXYZ(double x, double y, double z)
- Specified by:
pointXYZ
in interfaceShapeFactory.PointsBuilder<OnePointsBuilder>
- See Also:
ShapeFactory.pointXYZ(double, double, double)
-
pointLatLon
public OnePointsBuilder pointLatLon(double latitude, double longitude)
- Specified by:
pointLatLon
in interfaceShapeFactory.PointsBuilder<OnePointsBuilder>
- See Also:
ShapeFactory.pointLatLon(double, double)
-
getPoint
public Point getPoint()
-
-