Field Notes
    Preparing search index...

    Function snapPoint

    • Snap a point to the nearest grid intersection. A generic primitive used by the constraint service fallback; domain-aware snapping (hex, footprint) lives in @fieldnotes/vtt.

      Parameters

      • point: Point
      • gridSize: number

      Returns Point