Package org.localify.common
Class PointUtil
java.lang.Object
org.localify.common.PointUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.locationtech.jts.geom.PointtoPoint(double longitude, double latitude) Creates a point.
-
Constructor Details
-
PointUtil
public PointUtil(org.locationtech.jts.geom.GeometryFactory geometryFactory)
-
-
Method Details
-
toPoint
public org.locationtech.jts.geom.Point toPoint(double longitude, double latitude) Creates a point.
Note: Points in SRID 4326 are (lon, lat).- Parameters:
longitude- the point's longitude (X value)latitude- the point's latitude (Y value)- Returns:
- the new Point
-