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

Commitd28cd22

Browse files
committed
Improve description of geometric operators.
1 parentb9ddb63 commitd28cd22

File tree

1 file changed

+48
-33
lines changed

1 file changed

+48
-33
lines changed

‎doc/src/sgml/func.sgml

Lines changed: 48 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/func.sgml,v 1.141 2003/02/19 03:12:22 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/func.sgml,v 1.142 2003/03/03 03:31:23 tgl Exp $
33
PostgreSQL documentation
44
-->
55

@@ -5436,94 +5436,109 @@ SELECT TIMESTAMP 'now';
54365436
<entry>Number of points in path or polygon</entry>
54375437
<entry><literal># '((1,0),(0,1),(-1,0))'</literal></entry>
54385438
</row>
5439+
<row>
5440+
<entry> @-@ </entry>
5441+
<entry>Length or circumference</entry>
5442+
<entry><literal>@-@ path '((0,0),(1,0))'</literal></entry>
5443+
</row>
5444+
<row>
5445+
<entry> @@ </entry>
5446+
<entry>Center of</entry>
5447+
<entry><literal>@@ circle '((0,0),10)'</literal></entry>
5448+
</row>
54395449
<row>
54405450
<entry> ## </entry>
54415451
<entry>Point of closest proximity</entry>
54425452
<entry><literal>point '(0,0)' ## lseg '((2,0),(0,2))'</literal></entry>
54435453
</row>
5454+
<row>
5455+
<entry> &lt;-&gt; </entry>
5456+
<entry>Distance between</entry>
5457+
<entry><literal>circle '((0,0),1)' &lt;-&gt; circle '((5,0),1)'</literal></entry>
5458+
</row>
54445459
<row>
54455460
<entry> &amp;&amp; </entry>
54465461
<entry>Overlaps?</entry>
54475462
<entry><literal>box '((0,0),(1,1))' &amp;&amp; box '((0,0),(2,2))'</literal></entry>
54485463
</row>
54495464
<row>
54505465
<entry> &amp;&lt; </entry>
5451-
<entry>Overlapstoleft?</entry>
5466+
<entry>Overlapsor isleft of?</entry>
54525467
<entry><literal>box '((0,0),(1,1))' &amp;&lt; box '((0,0),(2,2))'</literal></entry>
54535468
</row>
54545469
<row>
54555470
<entry> &amp;&gt; </entry>
5456-
<entry>Overlapstoright?</entry>
5471+
<entry>Overlapsor isright of?</entry>
54575472
<entry><literal>box '((0,0),(3,3))' &amp;&gt; box '((0,0),(2,2))'</literal></entry>
54585473
</row>
5459-
<row>
5460-
<entry> &lt;-&gt; </entry>
5461-
<entry>Distance between</entry>
5462-
<entry><literal>circle '((0,0),1)' &lt;-&gt; circle '((5,0),1)'</literal></entry>
5463-
</row>
54645474
<row>
54655475
<entry> &lt;&lt; </entry>
54665476
<entry>Left of?</entry>
54675477
<entry><literal>circle '((0,0),1)' &lt;&lt; circle '((5,0),1)'</literal></entry>
54685478
</row>
5469-
<row>
5470-
<entry> &lt;^ </entry>
5471-
<entry>Is below?</entry>
5472-
<entry><literal>circle '((0,0),1)' &lt;^ circle '((0,5),1)'</literal></entry>
5473-
</row>
54745479
<row>
54755480
<entry> &gt;&gt; </entry>
5476-
<entry>Is right of?</entry>
5481+
<entry>Right of?</entry>
54775482
<entry><literal>circle '((5,0),1)' &gt;&gt; circle '((0,0),1)'</literal></entry>
54785483
</row>
5484+
<row>
5485+
<entry> &lt;^ </entry>
5486+
<entry>Below?</entry>
5487+
<entry><literal>circle '((0,0),1)' &lt;^ circle '((0,5),1)'</literal></entry>
5488+
</row>
54795489
<row>
54805490
<entry> &gt;^ </entry>
5481-
<entry>Is above?</entry>
5491+
<entry>Above?</entry>
54825492
<entry><literal>circle '((0,5),1)' >^ circle '((0,0),1)'</literal></entry>
54835493
</row>
54845494
<row>
54855495
<entry> ?# </entry>
5486-
<entry>Intersects or overlaps</entry>
5496+
<entry>Intersect?</entry>
54875497
<entry><literal>lseg '((-1,0),(1,0))' ?# box '((-2,-2),(2,2))'</literal></entry>
54885498
</row>
54895499
<row>
54905500
<entry> ?- </entry>
5491-
<entry>Is horizontal?</entry>
5492-
<entry><literal>point '(1,0)' ?- point '(0,0)'</literal></entry>
5501+
<entry>Horizontal?</entry>
5502+
<entry><literal>?- lseg '((-1,0),(1,0))'</literal></entry>
54935503
</row>
54945504
<row>
5495-
<entry> ?-| </entry>
5496-
<entry>Is perpendicular?</entry>
5497-
<entry><literal>lseg '((0,0),(0,1))' ?-| lseg '((0,0),(1,0))'</literal></entry>
5505+
<entry> ?- </entry>
5506+
<entry>Horizontally aligned?</entry>
5507+
<entry><literal>point '(1,0)' ?- point '(0,0)'</literal></entry>
54985508
</row>
54995509
<row>
5500-
<entry>@-@ </entry>
5501-
<entry>Length or circumference</entry>
5502-
<entry><literal>@-@ path '((0,0),(1,0))'</literal></entry>
5510+
<entry>?| </entry>
5511+
<entry>Vertical?</entry>
5512+
<entry><literal>?| lseg '((-1,0),(1,0))'</literal></entry>
55035513
</row>
55045514
<row>
55055515
<entry> ?| </entry>
5506-
<entry>Is vertical?</entry>
5516+
<entry>Vertically aligned?</entry>
55075517
<entry><literal>point '(0,1)' ?| point '(0,0)'</literal></entry>
55085518
</row>
5519+
<row>
5520+
<entry> ?-| </entry>
5521+
<entry>Perpendicular?</entry>
5522+
<entry><literal>lseg '((0,0),(0,1))' ?-| lseg '((0,0),(1,0))'</literal></entry>
5523+
</row>
55095524
<row>
55105525
<entry> ?|| </entry>
5511-
<entry>Is parallel?</entry>
5526+
<entry>Parallel?</entry>
55125527
<entry><literal>lseg '((-1,0),(1,0))' ?|| lseg '((-1,2),(1,2))'</literal></entry>
55135528
</row>
55145529
<row>
5515-
<entry>@ </entry>
5516-
<entry>Contained or on</entry>
5517-
<entry><literal>point '(1,1)' @ circle '((0,0),2)'</literal></entry>
5530+
<entry>~ </entry>
5531+
<entry>Contains?</entry>
5532+
<entry><literal>circle '((0,0),2)' ~ point '(1,1)'</literal></entry>
55185533
</row>
55195534
<row>
5520-
<entry> @@ </entry>
5521-
<entry>Center of</entry>
5522-
<entry><literal>@@ circle '((0,0),10)'</literal></entry>
5535+
<entry> @ </entry>
5536+
<entry>Contained in or on?</entry>
5537+
<entry><literal>point '(1,1)' @ circle '((0,0),2)'</literal></entry>
55235538
</row>
55245539
<row>
55255540
<entry> ~= </entry>
5526-
<entry>Same as</entry>
5541+
<entry>Same as?</entry>
55275542
<entry><literal>polygon '((0,0),(1,1))' ~= polygon '((1,1),(0,0))'</literal></entry>
55285543
</row>
55295544
</tbody>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp