changeset 31888:9de99cd1f9d7 stable

maint: Update comment to fix broken citation for inpolygon inpolygon.m: A comment cited the source of the original algorithm but the URL was defunct. I contacted the author through a web search and I've updated the citation with the data they provided.
author Arun Giridhar <arungiridhar@gmail.com>
date Mon, 06 Mar 2023 19:01:39 -0500
parents 436f771403bc
children f1f11a50a402 129e5fc5372b
files scripts/geometry/inpolygon.m
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/geometry/inpolygon.m	Fri Mar 03 16:40:00 2023 -0500
+++ b/scripts/geometry/inpolygon.m	Mon Mar 06 19:01:39 2023 -0500
@@ -39,9 +39,9 @@
 ## @end deftypefn
 
 ## Algorithm: The method for determining if a point is in a polygon is based on
-## the algorithm shown on
-## http://local.wasp.uwa.edu.au/~pbourke/geometry/insidepoly/
-## and is credited to Randolph Franklin.
+## the PnPoly algorithm from Prof W. Randolph Franklin,
+## (Rensselaer Polytechnic Institute, Troy NY), originally written in 1970.
+## URL: http://wrfranklin.org/pnpoly
 
 function [in, on] = inpolygon (x, y, xv, yv)