ol-ext: extent intersection

extentIntersection (ol/extent~intersection) is a fast polygon intersection calculation with an extent (mainly used to calculate area intersection).
NB: It may produce unnecessary points.
See circle intersection example to compute intersection on a cirle.
It can be used to compute statistics on visible area.
Draw a polygon on the map
Computation time comparison
ol-ext vs jsts