[OpenLayers-Users] Geometry and intersections

Diego Guidi diegoguidi at gmail.com
Thu Mar 24 05:33:04 EDT 2011


> Hello everybody,
> When I call geom.intersects(otherGeom), I don't understand if the operation
> is made using the feature BBOX or the real geometry.
> How OpenLayers is running this operation?
after a brief look at the code, looks that any "non-trivial" geomerty
(i.e. Point uses this.equals(other), of course) calls
geometry.segmentsIntersect, that make (or, at least, try to) a real
intersection.


More information about the Users mailing list