Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit217d543

Browse files
committed
Update comment description of geo routines and move comment to more
relevant location.
1 parentea9ec78 commit217d543

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

‎src/backend/utils/adt/geo_ops.c

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/utils/adt/geo_ops.c,v 1.92 2006/03/05 15:58:42 momjian Exp $
11+
* $PostgreSQL: pgsql/src/backend/utils/adt/geo_ops.c,v 1.93 2006/06/26 12:32:42 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -3844,16 +3844,6 @@ poly_contained(PG_FUNCTION_ARGS)
38443844
}
38453845

38463846

3847-
/* poly_contain_pt()
3848-
* Test to see if the point is inside the polygon.
3849-
* Code adapted from integer-based routines in
3850-
*Wn: A Server for the HTTP
3851-
*File: wn/image.c
3852-
*Version 1.15.1
3853-
*Copyright (C) 1995<by John Franks>
3854-
* (code offered for use by J. Franks in Linux Journal letter.)
3855-
*/
3856-
38573847
Datum
38583848
poly_contain_pt(PG_FUNCTION_ARGS)
38593849
{
@@ -5072,6 +5062,15 @@ poly_circle(PG_FUNCTION_ARGS)
50725062
**
50735063
***********************************************************************/
50745064

5065+
/*
5066+
*Test to see if the point is inside the polygon.
5067+
*Code adapted from integer-based routines in WN: A Server for the HTTP
5068+
*version 1.15.1, file wn/image.c
5069+
*GPL Copyright (C) 1995 by John Franks
5070+
*http://hopf.math.northwestern.edu/index.html
5071+
*Description of algorithm: http://www.linuxjournal.com/article/2197
5072+
*/
5073+
50755074
#defineHIT_IT INT_MAX
50765075

50775076
staticint

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp