﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
9024	[patch] bbox/bounds memory optimizations	shinigami	team	"Hi,

bbox/bounds allowed access to coordinates through creation LatLon objects only, which led to creation of looots of useless instances. Example:

return lat() < b.getMin().lat() || lat() > b.getMax().lat() || lon() < b.getMin().lon() || lon() > b.getMax().lon();

creates 4 objects just to find if point is outside of box.

So I made shortcuts getMinLat() for getMin().lat() etc...
Added few methods consuming (double lat, double lon) instead of (LatLon) to avoid m(new LatLon(lat,lon)) usages.
Changed some implementations. (counting center of rectangle really need not create two objects;)


"	enhancement	closed	normal		Core		fixed		
