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 someShapeReaders.
-
-
Field Summary
Fields Modifier and Type Field Description private Pointpointprivate ShapeFactoryshapeFactory
-
Constructor Summary
Constructors Constructor Description OnePointsBuilder(ShapeFactory shapeFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PointgetPoint()OnePointsBuilderpointLatLon(double latitude, double longitude)OnePointsBuilderpointXY(double x, double y)OnePointsBuilderpointXYZ(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:
pointXYin interfaceShapeFactory.PointsBuilder<OnePointsBuilder>- See Also:
ShapeFactory.pointXY(double, double)
-
pointXYZ
public OnePointsBuilder pointXYZ(double x, double y, double z)
- Specified by:
pointXYZin interfaceShapeFactory.PointsBuilder<OnePointsBuilder>- See Also:
ShapeFactory.pointXYZ(double, double, double)
-
pointLatLon
public OnePointsBuilder pointLatLon(double latitude, double longitude)
- Specified by:
pointLatLonin interfaceShapeFactory.PointsBuilder<OnePointsBuilder>- See Also:
ShapeFactory.pointLatLon(double, double)
-
getPoint
public Point getPoint()
-
-