Class ST_Project

  • All Implemented Interfaces:
    org.h2gis.api.Function, org.h2gis.api.ScalarFunction

    public class ST_Project
    extends org.h2gis.api.DeterministicScalarFunction
    Function to project a point
    Author:
    Erwan Bocher, CNRS
    • Field Summary

      • Fields inherited from interface org.h2gis.api.Function

        PROP_NAME, PROP_REMARKS
      • Fields inherited from interface org.h2gis.api.ScalarFunction

        PROP_DETERMINISTIC
    • Constructor Summary

      Constructors 
      Constructor Description
      ST_Project()  
    • Constructor Detail

      • ST_Project

        public ST_Project()
    • Method Detail

      • getJavaStaticMethod

        public String getJavaStaticMethod()
      • execute

        public static org.locationtech.jts.geom.Geometry execute​(org.locationtech.jts.geom.Geometry geometry,
                                                                 double distance,
                                                                 double azimuth)
                                                          throws SQLException
        Project a point using a given distance and azimuth
        Parameters:
        geometry -
        distance - is given in meters
        azimuth - is given in radians and measured clockwise from true north.
        Returns:
        a project point
        Throws:
        SQLException