Skip to content

Let triangulate report triangle areas in -S with new -A#6691

Merged
PaulWessel merged 1 commit intomasterfrom
tri-area
May 8, 2022
Merged

Let triangulate report triangle areas in -S with new -A#6691
PaulWessel merged 1 commit intomasterfrom
tri-area

Conversation

@PaulWessel
Copy link
Member

Like -A in sphtriangulate, append the area of the triangle to the header record when reporting polygons.

Like -A in sphtriangulate, append the area of the triangle to the header record when reporting polygons.
@PaulWessel PaulWessel added enhancement Improving an existing feature add-changelog Add PR to the changelog labels May 8, 2022
@PaulWessel PaulWessel added this to the 6.4.0 milestone May 8, 2022
@PaulWessel PaulWessel self-assigned this May 8, 2022
@PaulWessel
Copy link
Member Author

Test example:

gmt triangulate  -S -A << EOF
0 0
1 0
0 1
EOF
> Polygon 0-1-2 -Z0 Area: 0.5
0	0
1	0
0	1
0	0

@PaulWessel PaulWessel merged commit 149094f into master May 8, 2022
@PaulWessel PaulWessel deleted the tri-area branch May 8, 2022 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

add-changelog Add PR to the changelog enhancement Improving an existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants