From: Stefan S. <ss...@ge...> - 2010-07-07 04:14:33
|
Hei, Nils Kuhn schrieb: > > By the way: > com.vividsolutions.jts.geom.Geometry.intersects(Geometry geom) is less > expensive than > com.vividsolutions.jts.geom.Geometry.intersection(Geometry geom): I guess the first does a point in polygon test until there is a "true". The other one really needs to create a new geometry (after an intersection is found) - which should be more expensive in any case due to the math? stefan |