From 02ac1d8dc0e5328ec784625ea92304976d8739da Mon Sep 17 00:00:00 2001 From: Wei Ji <23487320+weiji14@users.noreply.github.com> Date: Sun, 13 Mar 2022 10:49:40 -0400 Subject: [PATCH] State that Shewchuk is the default triangulation algorithm As per https://github.com/GenericMappingTools/gmt/pull/6438 --- pygmt/src/triangulate.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pygmt/src/triangulate.py b/pygmt/src/triangulate.py index 505f15cb377..20850ed980d 100644 --- a/pygmt/src/triangulate.py +++ b/pygmt/src/triangulate.py @@ -31,7 +31,7 @@ class triangulate: # pylint: disable=invalid-name number, starting at 0 for the first line) in the input file. If **outgrid** and **spacing** are set a grid will be calculated based on the surface defined by the planar triangles. The actual algorithm used in the - triangulations is either that of Watson [1982] [Default] or Shewchuk [1996] + triangulations is either that of Watson [1982] or Shewchuk [1996] [Default] (if installed; type **gmt get GMT_TRIANGULATE** on the command line to see which method is selected). This choice is made during the GMT installation. Furthermore, if the Shewchuk algorithm is installed then you can also @@ -179,7 +179,7 @@ def regular_grid( # pylint: disable=too-many-arguments,too-many-locals calculated. By setting **outgrid** and **spacing**, a grid will be calculated based on the surface defined by the planar triangles. The actual algorithm used in the triangulations is either that of Watson - [1982] [Default] or Shewchuk [1996] (if installed; type + [1982] or Shewchuk [1996] [Default] (if installed; type **gmt get GMT_TRIANGULATE** on the command line to see which method is selected). This choice is made during the GMT installation. Furthermore, if the Shewchuk algorithm is installed then you can also @@ -297,7 +297,7 @@ def delaunay_triples( # pylint: disable=too-many-arguments,too-many-locals triangulation possible. If a map projection (give *region* and *projection*) is chosen then it is applied before the triangulation is calculated. The actual algorithm used in the triangulations is either - that of Watson [1982] [Default] or Shewchuk [1996] (if installed; type + that of Watson [1982] or Shewchuk [1996] [Default] (if installed; type **gmt get GMT_TRIANGULATE** on the command line to see which method is selected). This choice is made during the GMT installation. Furthermore, if the Shewchuk algorithm is installed then you can also