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
d28cd227
Commit
d28cd227
authored
Mar 03, 2003
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve description of geometric operators.
parent
b9ddb633
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
48 additions
and
33 deletions
+48
-33
doc/src/sgml/func.sgml
doc/src/sgml/func.sgml
+48
-33
No files found.
doc/src/sgml/func.sgml
View file @
d28cd227
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/func.sgml,v 1.14
1 2003/02/19 03:12:22 momjian
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/func.sgml,v 1.14
2 2003/03/03 03:31:23 tgl
Exp $
PostgreSQL documentation
-->
...
...
@@ -5436,11 +5436,26 @@ SELECT TIMESTAMP 'now';
<entry>Number of points in path or polygon</entry>
<entry><literal># '((1,0),(0,1),(-1,0))'</literal></entry>
</row>
<row>
<entry> @-@ </entry>
<entry>Length or circumference</entry>
<entry><literal>@-@ path '((0,0),(1,0))'</literal></entry>
</row>
<row>
<entry> @@ </entry>
<entry>Center of</entry>
<entry><literal>@@ circle '((0,0),10)'</literal></entry>
</row>
<row>
<entry> ## </entry>
<entry>Point of closest proximity</entry>
<entry><literal>point '(0,0)' ## lseg '((2,0),(0,2))'</literal></entry>
</row>
<row>
<entry> <-> </entry>
<entry>Distance between</entry>
<entry><literal>circle '((0,0),1)' <-> circle '((5,0),1)'</literal></entry>
</row>
<row>
<entry> && </entry>
<entry>Overlaps?</entry>
...
...
@@ -5448,82 +5463,82 @@ SELECT TIMESTAMP 'now';
</row>
<row>
<entry> &< </entry>
<entry>Overlaps
to left
?</entry>
<entry>Overlaps
or is left of
?</entry>
<entry><literal>box '((0,0),(1,1))' &< box '((0,0),(2,2))'</literal></entry>
</row>
<row>
<entry> &> </entry>
<entry>Overlaps
to right
?</entry>
<entry>Overlaps
or is right of
?</entry>
<entry><literal>box '((0,0),(3,3))' &> box '((0,0),(2,2))'</literal></entry>
</row>
<row>
<entry> <-> </entry>
<entry>Distance between</entry>
<entry><literal>circle '((0,0),1)' <-> circle '((5,0),1)'</literal></entry>
</row>
<row>
<entry> << </entry>
<entry>Left of?</entry>
<entry><literal>circle '((0,0),1)' << circle '((5,0),1)'</literal></entry>
</row>
<row>
<entry> <^ </entry>
<entry>Is below?</entry>
<entry><literal>circle '((0,0),1)' <^ circle '((0,5),1)'</literal></entry>
</row>
<row>
<entry> >> </entry>
<entry>
Is r
ight of?</entry>
<entry>
R
ight of?</entry>
<entry><literal>circle '((5,0),1)' >> circle '((0,0),1)'</literal></entry>
</row>
<row>
<entry> <^ </entry>
<entry>Below?</entry>
<entry><literal>circle '((0,0),1)' <^ circle '((0,5),1)'</literal></entry>
</row>
<row>
<entry> >^ </entry>
<entry>
Is a
bove?</entry>
<entry>
A
bove?</entry>
<entry><literal>circle '((0,5),1)' >^ circle '((0,0),1)'</literal></entry>
</row>
<row>
<entry> ?# </entry>
<entry>Intersect
s or overlaps
</entry>
<entry>Intersect
?
</entry>
<entry><literal>lseg '((-1,0),(1,0))' ?# box '((-2,-2),(2,2))'</literal></entry>
</row>
<row>
<entry> ?- </entry>
<entry>
Is h
orizontal?</entry>
<entry><literal>
point '(1,0)' ?- point '(0,0
)'</literal></entry>
<entry>
H
orizontal?</entry>
<entry><literal>
?- lseg '((-1,0),(1,0)
)'</literal></entry>
</row>
<row>
<entry> ?-
|
</entry>
<entry>
Is perpendicular
?</entry>
<entry><literal>
lseg '((0,0),(0,1))' ?-| lseg '((0,0),(1,0)
)'</literal></entry>
<entry> ?- </entry>
<entry>
Horizontally aligned
?</entry>
<entry><literal>
point '(1,0)' ?- point '(0,0
)'</literal></entry>
</row>
<row>
<entry>
@-@
</entry>
<entry>
Length or circumference
</entry>
<entry><literal>
@-@ path '((0
,0),(1,0))'</literal></entry>
<entry>
?|
</entry>
<entry>
Vertical?
</entry>
<entry><literal>
?| lseg '((-1
,0),(1,0))'</literal></entry>
</row>
<row>
<entry> ?| </entry>
<entry>
Is vertical
?</entry>
<entry>
Vertically aligned
?</entry>
<entry><literal>point '(0,1)' ?| point '(0,0)'</literal></entry>
</row>
<row>
<entry> ?-| </entry>
<entry>Perpendicular?</entry>
<entry><literal>lseg '((0,0),(0,1))' ?-| lseg '((0,0),(1,0))'</literal></entry>
</row>
<row>
<entry> ?|| </entry>
<entry>
Is p
arallel?</entry>
<entry>
P
arallel?</entry>
<entry><literal>lseg '((-1,0),(1,0))' ?|| lseg '((-1,2),(1,2))'</literal></entry>
</row>
<row>
<entry>
@
</entry>
<entry>Contain
ed or on
</entry>
<entry><literal>
point '(1,1)' @ circle '((0,0),2
)'</literal></entry>
<entry>
~
</entry>
<entry>Contain
s?
</entry>
<entry><literal>
circle '((0,0),2)' ~ point '(1,1
)'</literal></entry>
</row>
<row>
<entry> @
@
</entry>
<entry>C
enter of
</entry>
<entry><literal>
@@ circle '((0,0),10
)'</literal></entry>
<entry> @ </entry>
<entry>C
ontained in or on?
</entry>
<entry><literal>
point '(1,1)' @ circle '((0,0),2
)'</literal></entry>
</row>
<row>
<entry> ~= </entry>
<entry>Same as</entry>
<entry>Same as
?
</entry>
<entry><literal>polygon '((0,0),(1,1))' ~= polygon '((1,1),(0,0))'</literal></entry>
</row>
</tbody>
...
...
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