[GRASS-git] [OSGeo/grass] bf5c1a: lib/vector: improve numerical stability for point-...

Markus Metz noreply at github.com
Fri May 8 06:57:39 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: bf5c1afe5ecfdcd36ad5575c49fd8adc43b55fa9
      https://github.com/OSGeo/grass/commit/bf5c1afe5ecfdcd36ad5575c49fd8adc43b55fa9
  Author: Markus Metz <33666869+metzm at users.noreply.github.com>
  Date:   2026-05-08 (Fri, 08 May 2026)

  Changed paths:
    M include/grass/defs/vector.h
    M lib/vector/Vlib/find.c
    M lib/vector/Vlib/poly.c
    M lib/vector/diglib/inside.c

  Log Message:
  -----------
  lib/vector: improve numerical stability for point-in-polygon calculations (#7333)

* improve numerical stability for point-in-polygon calculations
* use Vect_point_in_poly() whenever possible for consistency and to reduce code maintenance burden
* avoid floating point precision errors with changed calculations

---------

Co-authored-by: Anna Petrasova <kratochanna at gmail.com>
Co-authored-by: Nicklas Larsson <n_larsson at yahoo.com>



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications


More information about the grass-commit mailing list