Table of Contents

Namespace LansMap.Core.Interaction

Classes

ClickGestureMath

Pure click/tap gesture math shared by click-to-open and click-to-zoom controllers: DPI-scaled slop radius and the within-slop test.

ClusterViewportFilter

Pure viewport hit-test for cluster bubbles: keeps only the clusters whose ground-plane projection lands on screen (with a margin).

GestureVelocityMath

Pure release-velocity math shared by pan and axis (zoom/rotate) fling tracking: a short windowed history collapsed to one velocity, plus the fling-duration formula derived from it.

ViewportHitTest

Pure point-in-rect test for pointer-ownership checks, top-left screen origin against a bottom-left origin rect (the Unity camera pixelRect convention).

ZoomSnapMath

Pure zoom-snap math for the rest-zoom integer snap feature: the nearest grid target for a settle animation, and the fling-velocity retarget that lands a zoom fling exactly on that grid instead of its natural (unsnapped) endpoint.

Structs

AxisVelocitySample

One scalar-axis sample (fling velocity tracking): timestamp and value.

PositionVelocitySample

One 2D position sample (pan-release velocity tracking): timestamp and X/Y.