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

Markus Metz noreply at github.com
Fri May 8 07:02:58 PDT 2026


  Branch: refs/heads/releasebranch_8_5
  Home:   https://github.com/OSGeo/grass
  Commit: d2fe3ad025809a48db9dc2d9266488db8c7b8fab
      https://github.com/OSGeo/grass/commit/d2fe3ad025809a48db9dc2d9266488db8c7b8fab
  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