@@ -58,12 +58,10 @@ PG_FUNCTION_INFO_V1(spherepoly_add_points_finalize);
5858
5959
6060 /*
61- * "Center " of a polygon.
61+ * Writes "center " of a polygon into 'v' .
6262 *
6363 * v - pointer to the center of a polygon
6464 * poly - pointer to the polygon
65- *
66- * Returns true if crossing.
6765 */
6866static void
6967spherepoly_center (Vector3D * v , const SPOLY * poly )
@@ -97,11 +95,7 @@ spherepoly_center(Vector3D *v, const SPOLY *poly)
9795
9896
9997/*
100- * Checks crossing of line segments.
101- *
102- * poly - pointer to a polygon
103- *
104- * Returns true if crossing.
98+ * Checks if line segments cross.
10599 */
106100static bool
107101spherepoly_check (const SPOLY * poly )
@@ -277,9 +271,6 @@ euler_spoly_trans(SPOLY *out, const SPOLY *in, const SEuler *se)
277271/*
278272 * Returns the relationship between polygon and circle as
279273 * PGS_CIRCLE_POLY_REL int8 value.
280- *
281- * circ - pointer to the circle
282- * poly - is the pointer to the polygon
283274 */
284275static int8
285276poly_circle_pos (const SPOLY * poly , const SCIRCLE * circ )
@@ -348,9 +339,6 @@ poly_circle_pos(const SPOLY *poly, const SCIRCLE *circ)
348339/*
349340 * Returns the relationship between a polygon and an ellipse
350341 * as PGS_ELLIPSE_POLY_REL int8 value.
351- *
352- * ell - pointer to the ellipse
353- * poly - pointer to the polygon
354342 */
355343static int8
356344poly_ellipse_pos (const SPOLY * poly , const SELLIPSE * ell )
@@ -496,9 +484,6 @@ poly_poly_pos(const SPOLY *p1, const SPOLY *p2, bool recheck)
496484/*
497485 * Checks whether two polygons are equal.
498486 *
499- * p1 - pointer to the first polygon
500- * p2 - pointer to the second polygon
501- *
502487 * If 'dir' is true, check with reverse polygon of 'p2'.
503488 */
504489bool
0 commit comments