[SCM] PostGIS branch master updated. 3.4.0rc1-1006-g4057a9131

git at osgeo.org git at osgeo.org
Sun Mar 10 19:07:38 PDT 2024


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".

The branch, master has been updated
       via  4057a91318729877939ea6bd192402b5455ae023 (commit)
      from  4e82dc50db504c75140f0473e7827c14abb05c6d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 4057a91318729877939ea6bd192402b5455ae023
Author: Regina Obe <lr at pcorp.us>
Date:   Sun Mar 10 22:02:22 2024 -0400

    Remove sphere_angle no longer used
    References #5671 for PostGIS 3.5.0

diff --git a/liblwgeom/lwgeodetic.c b/liblwgeom/lwgeodetic.c
index b4068e1a8..29eef8e95 100644
--- a/liblwgeom/lwgeodetic.c
+++ b/liblwgeom/lwgeodetic.c
@@ -714,20 +714,6 @@ edge_point_side(const GEOGRAPHIC_EDGE *e, const GEOGRAPHIC_POINT *p)
 		return 1;
 }
 
-/**
-* Returns the angle in radians at point B of the triangle formed by A-B-C
-*/
-static double
-sphere_angle(const GEOGRAPHIC_POINT *a, const GEOGRAPHIC_POINT *b,  const GEOGRAPHIC_POINT *c)
-{
-	POINT3D normal1, normal2;
-	robust_cross_product(b, a, &normal1);
-	robust_cross_product(b, c, &normal2);
-	normalize(&normal1);
-	normalize(&normal2);
-	return sphere_distance_cartesian(&normal1, &normal2);
-}
-
 /**
 * Returns true if the point p is on the great circle plane.
 * Forms the scalar triple product of A,B,p and if the volume of the

-----------------------------------------------------------------------

Summary of changes:
 liblwgeom/lwgeodetic.c | 14 --------------
 1 file changed, 14 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list