Commit Graph

13 Commits

Author SHA1 Message Date
Tom Payne
72437ff57b Use more compact constants 2013-03-22 17:33:19 +01:00
Tom Payne
c04e9c8870 Add ol.Rectangle.extendXY 2013-03-22 17:23:58 +01:00
Tom Payne
483375ca42 Add ol.Extent.createEmptyExtent 2013-03-22 17:23:50 +01:00
Tom Payne
3a1fcdae0f Optimize ol.Extent.getForView2DAndSize 2013-03-10 15:51:08 +01:00
Tom Payne
ed787ba79c Add ol.Extent.getForView2DAndSize 2013-03-10 15:51:08 +01:00
Tim Schaub
40bde4056b Accept a destination array for transforms
This allows in-place transforms.
2013-03-03 20:24:14 +01:00
Tim Schaub
7a5e6a06d8 Make transform functions work with arrays
Instead of working with ol.Coordinate instances, transform functions work with arrays.  This is in anticipation of using transform functions to transform large arrays of vertex coordinate values.  The ol.projection.transform and ol.projection.transformWithCodes are slightly more convenient functions for dealing with ol.Coordinate instances.  Whether we make this more consistent with the use of functions returned by ol.projection.getTransform is up for discussion.
2013-03-03 19:27:57 +01:00
Éric Lemoine
35a6cac37f Add containsExtent to ol.Extent 2013-02-14 23:36:36 +01:00
Tim Schaub
0845dea366 Care with transform
Since the transform method takes an arbitrary transform function, new coordinates may not be ordered in the same way as the originals.
2013-01-23 22:03:08 -07:00
augustus
f253c1bcf8 Some comments (no changes to code) 2012-11-09 16:26:59 +01:00
Tom Payne
860b4407b7 Add ol.Extent.get{Bottom,Top}{Left,Right} 2012-10-18 13:49:10 +02:00
Tom Payne
424dbd7582 Remove problematic (and unused) clone methods, move contains out of ol.Rectangle 2012-09-25 00:04:45 +02:00
Tom Payne
f8c31ba45c s/ol3/ol/ 2012-09-24 14:21:41 +02:00