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

Commit8de326d

Browse files
author
Markus Nullmeier
committed
add gnomonic projection and its inverse
also: doc: presently, the area function requires convex polygons
1 parent156fcc4 commit8de326d

File tree

6 files changed

+1224
-5
lines changed

6 files changed

+1224
-5
lines changed

‎Makefile‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ MODULE_big = pg_sphere
22
OBJS = sscan.o sparse.o sbuffer.o vector3d.o point.o\
33
euler.o circle.o line.o ellipse.o polygon.o\
44
path.o box.o output.o gq_cache.o gist.o key.o\
5-
crossmatch.o
5+
crossmatch.o gnomo.o
66

77
EXTENSION = pg_sphere
88
DATA_built = pg_sphere--1.0.sql
99
DOCS = README.pg_sphere COPYRIGHT.pg_sphere
1010
REGRESS = init tables points euler circle line ellipse poly path box index\
11-
contains_ops contains_ops_compat bounding_box_gist
11+
contains_ops contains_ops_compat bounding_box_gist gnomo
1212

1313
EXTRA_CLEAN = pg_sphere--1.0.sql$(PGS_SQL)
1414

@@ -18,7 +18,7 @@ CRUSH_TESTS = init_extended circle_extended
1818
PGS_SQL = pgs_types.sql pgs_point.sql pgs_euler.sql pgs_circle.sql\
1919
pgs_line.sql pgs_ellipse.sql pgs_polygon.sql pgs_path.sql\
2020
pgs_box.sql pgs_contains_ops.sql pgs_contains_ops_compat.sql\
21-
pgs_gist.sql pgs_crossmatch.sql\
21+
pgs_gist.sql pgs_crossmatch.sqlgnomo.sql\
2222

2323
ifdefUSE_PGXS
2424
ifndef PG_CONFIG

‎doc/functions.sgm‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
<para>
1515
The <function>area</function> function returns the area of a
1616
spherical object in square radians. Supported data types are:
17-
<type>scircle</type>, <type>spolygon</type>, and
18-
<type>sbox</type>.
17+
<type>scircle</type>, <type>spolygon</type> (if the polygon
18+
is convex), and <type>sbox</type>.
1919
</para>
2020
<example>
2121
<title>Area of a spherical circle as a multiple of &pgr;</title>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp