Commit Graph

241 Commits

Author SHA1 Message Date
Tom Payne
fdc80c4f97 Add stability annotation to ol.geom.Circle 2014-02-03 14:59:13 +01:00
Tom Payne
33ac759d35 Add stability annotation to ol.geom.GeometryCollection 2014-02-03 14:59:13 +01:00
Tom Payne
b38858952f Add stability annotation to ol.geom.MultiPolygon 2014-02-03 14:59:12 +01:00
Tom Payne
f8570137ed Add stability annotation to ol.geom.MultiLineString 2014-02-03 14:59:12 +01:00
Tom Payne
337def8089 Add stability annotation to ol.geom.MultiPoint 2014-02-03 14:59:12 +01:00
Tom Payne
8f50d0f097 Add stability annotation to ol.geom.Polygon 2014-02-03 14:59:12 +01:00
Tom Payne
e10bb6d3aa Add stability annotation to ol.geom.LinearRing 2014-02-03 14:59:12 +01:00
Tom Payne
43720fc81d Add stability annotation to ol.geom.LineString 2014-02-03 14:45:00 +01:00
Tom Payne
0ed865efe4 Add stability annotation to ol.geom.Point 2014-02-03 14:45:00 +01:00
Tom Payne
c4b7a32751 Add stability annotation to ol.geom.SimpleGeometry 2014-02-03 14:45:00 +01:00
Tom Payne
08ec3480ed Add stability annotation to ol.geom.Geometry 2014-02-03 14:45:00 +01:00
Tom Payne
df9369e663 Merge pull request #1621 from twpayne/clean-ups
Miscellaneous clean-ups
2014-01-30 04:16:27 -08:00
Tom Payne
e08b2bd0bf Fix bug in ol.geom.Circle#containsXY, thanks @vdubr 2014-01-30 11:29:35 +01:00
Tom Payne
c8999a5e52 Don't attempt to use Uint8Array in ol.geom.simplify.douglasPeucker 2014-01-30 11:20:58 +01:00
Tom Payne
a52dbbb09e Improve type checking in ol.geom.Circle#setCenterAndRadius 2014-01-30 11:20:58 +01:00
Tom Payne
d39a5cec75 Create polygons directly from flat coordinates 2014-01-21 16:11:53 +01:00
Tom Payne
d35c40f81f Create linear rings directly from flat coordinates 2014-01-21 16:11:53 +01:00
Tom Payne
ffc27719ea Use oriented rings where needed 2014-01-21 16:11:53 +01:00
Tom Payne
04092dac75 Add ol.geom.MultiPolygon#getOrientedFlatCoordinates 2014-01-21 16:11:52 +01:00
Tom Payne
8e372f8db0 Don't automatically orient rings in ol.geom.MultiPolygon 2014-01-21 16:11:52 +01:00
Tom Payne
6552046aa0 Use oriented rings where needed 2014-01-21 16:11:52 +01:00
Tom Payne
5b5865d48e Add ol.geom.Polygon#getOrientedFlatCoordinates 2014-01-21 16:11:52 +01:00
Tom Payne
ff73f080b3 Don't automatically orient rings in ol.geom.Polygon 2014-01-21 16:07:26 +01:00
Tom Payne
36387adf3f Add ol.geom.flat.linearRingssAreOriented 2014-01-21 16:07:26 +01:00
Tom Payne
42865ab8c3 Add ol.geom.flat.linearRingsAreOriented 2014-01-21 16:07:26 +01:00
Tom Payne
edcb38232f Use inherited dispatchChangeEvent and getRevision in ol.geom.Geometry 2014-01-21 11:43:13 +01:00
Tom Payne
52a0263310 Preserve extra dimensions in ol.geom.MultiPoint#closestPointXY 2014-01-20 09:39:09 +01:00
Tom Payne
2da724572a Preserve extra dimensions in ol.geom.Point#closestPointXY 2014-01-20 09:32:21 +01:00
Tom Payne
6f0f42040c Linearly interpolate extra dimensions in ol.geom.flat.closestPoint 2014-01-20 09:24:41 +01:00
Tom Payne
5bee477734 Maintain M and Z coordinates in ol.geom.Circle#getClosestPoint 2014-01-20 08:55:28 +01:00
oterral
b920f51010 Add export for ol.geom.LineString#getLength 2014-01-14 17:35:18 +01:00
Tom Payne
da31e62199 More efficient ol.geom.Circle#closestPointXY, thanks @tschaub 2014-01-14 12:34:47 +01:00
Tom Payne
3647f13e2e Add ol.geom.Circle 2014-01-14 12:31:50 +01:00
oterral
235af49f0b Add goog.provide('ol.geom.GeometryType') 2014-01-10 14:00:30 +01:00
Tom Payne
ffb68c951a Fix ol.geom.flat.linearRingContainsXY 2014-01-06 18:19:08 +01:00
Tom Payne
7ee2747948 Always use goog.vec.Mat4.Number instead of goog.vec.Mat.AnyType 2014-01-06 09:29:36 +01:00
Tom Payne
58b4d73f3b Improve type checking in ol.geom.simplify 2014-01-06 09:29:35 +01:00
Tom Payne
2a47bf0775 Improve type checking in ol.geom.flat 2014-01-06 09:29:35 +01:00
Tom Payne
0bf34a52ff Add ol.geom.MultiLineString#setLineStrings 2013-12-20 16:33:26 +01:00
Tom Payne
5729ebbd79 Add ol.geom.GeometryCollection#isEmpty 2013-12-16 12:47:28 +01:00
Tom Payne
b179a27ade Rename ol.geom.simplify.schaub to quantize 2013-12-13 20:51:54 +01:00
Tom Payne
594cee01e4 Use Schaub's topology-preserving simplification method for Polygons and MultiPolygons 2013-12-13 13:59:29 +01:00
Tom Payne
5b1bbe15dd Add ol.geom.simplify.schaub 2013-12-13 13:59:29 +01:00
Tom Payne
d7eb4db69e Add ol.geom.GeometryCollection 2013-12-11 16:49:47 +01:00
Tom Payne
802d1644bb Implement clone for simple geometries 2013-12-11 16:49:47 +01:00
Tom Payne
6295fa6088 Add ol.geom.Geometry#clone 2013-12-11 16:49:47 +01:00
Tom Payne
76a6e08ec1 Factor out ol.geom.SimpleGeometry 2013-12-11 16:49:47 +01:00
Tom Payne
496c9c4250 Add and improve comments 2013-12-09 18:56:34 +01:00
Tom Payne
f4fe0046b2 Check closest point against extent 2013-12-09 16:40:55 +01:00
Tom Payne
3178331bab Reduce garbage generation 2013-12-09 16:40:54 +01:00