PostGIS
2.4.9dev-r@@SVN_REVISION@@
|
void geographic_point_init | ( | double | lon, |
double | lat, | ||
GEOGRAPHIC_POINT * | g | ||
) |
Initialize a geographic point.
lon | longitude in degrees |
lat | latitude in degrees |
Definition at line 180 of file lwgeodetic.c.
References deg2rad, GEOGRAPHIC_POINT::lat, latitude_radians_normalize(), GEOGRAPHIC_POINT::lon, and longitude_radians_normalize().
Referenced by circ_node_leaf_new(), circ_node_leaf_point_new(), circ_tree_contains_point(), circ_tree_distance_tree_internal(), CircTreePIP(), line2pts(), lwgeom_azumith_spheroid(), lwgeom_project_spheroid(), lwline_covers_lwline(), lwline_covers_lwpoint(), lwpoly_covers_point2d(), lwpoly_pt_outside_hack(), ptarray_area_sphere(), ptarray_area_spheroid(), ptarray_distance_spheroid(), ptarray_length_spheroid(), ptarray_segmentize_sphere(), test_sphere_direction(), and test_sphere_project().