Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
217d5439
Commit
217d5439
authored
Jun 26, 2006
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update comment description of geo routines and move comment to more
relevant location.
parent
ea9ec780
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
11 deletions
+10
-11
src/backend/utils/adt/geo_ops.c
src/backend/utils/adt/geo_ops.c
+10
-11
No files found.
src/backend/utils/adt/geo_ops.c
View file @
217d5439
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/adt/geo_ops.c,v 1.9
2 2006/03/05 15:58
:42 momjian Exp $
* $PostgreSQL: pgsql/src/backend/utils/adt/geo_ops.c,v 1.9
3 2006/06/26 12:32
:42 momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -3844,16 +3844,6 @@ poly_contained(PG_FUNCTION_ARGS)
}
/* poly_contain_pt()
* Test to see if the point is inside the polygon.
* Code adapted from integer-based routines in
* Wn: A Server for the HTTP
* File: wn/image.c
* Version 1.15.1
* Copyright (C) 1995 <by John Franks>
* (code offered for use by J. Franks in Linux Journal letter.)
*/
Datum
poly_contain_pt
(
PG_FUNCTION_ARGS
)
{
...
...
@@ -5072,6 +5062,15 @@ poly_circle(PG_FUNCTION_ARGS)
**
***********************************************************************/
/*
* Test to see if the point is inside the polygon.
* Code adapted from integer-based routines in WN: A Server for the HTTP
* version 1.15.1, file wn/image.c
* GPL Copyright (C) 1995 by John Franks
* http://hopf.math.northwestern.edu/index.html
* Description of algorithm: http://www.linuxjournal.com/article/2197
*/
#define HIT_IT INT_MAX
static
int
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment