Commit Graph

226 Commits

Author SHA1 Message Date
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
Tom Payne
77a658ddee Add ol.geom.MultiPolygon#closestPointXY 2013-12-09 16:40:54 +01:00
Tom Payne
128e174ee2 Add ol.geom.MultiLineString#closestPointXY 2013-12-09 16:40:54 +01:00
Tom Payne
99042c956a Add ol.geom.MultiPoint#closestPointXY 2013-12-09 16:40:54 +01:00
Tom Payne
cf659f0753 Add ol.geom.Polygon#closestPointXY 2013-12-09 16:40:53 +01:00
Tom Payne
0c2a70f3a2 Add ol.geom.LinearRing#closestPointXY 2013-12-09 16:40:53 +01:00
Tom Payne
a19daf4b1d Add ol.geom.LineString#closestPointXY 2013-12-09 16:40:53 +01:00
Tom Payne
1add41033a Add ol.geom.Point#closestPointXY 2013-12-09 16:40:53 +01:00
Tom Payne
35c20bea79 Add ol.geom.Geometry#getClosestPoint 2013-12-09 16:40:53 +01:00
Tom Payne
74bf8a7ecb Add ol.geom.closest 2013-12-09 16:40:53 +01:00
Tom Payne
5d36c2a55e Add ol.geom.flat.closestPoint 2013-12-09 16:40:53 +01:00
Tom Payne
ee58e334a5 Move squaredDistance and squaredSegmentDistance in to ol.geom.flat 2013-12-09 16:37:33 +01:00
Tom Payne
b374d5c5b8 Avoid simplifying geometries when it will have no effect 2013-12-09 16:37:33 +01:00
Tom Payne
d3320da7c6 Add ol.geom.MultiPolygon#getSimplifiedGeometryInternal 2013-12-09 16:37:33 +01:00
Tom Payne
0845c866d5 Add ol.geom.MultiLineString#getSimplifiedGeometryInternal 2013-12-09 16:37:33 +01:00
Tom Payne
e560192c0f Add ol.geom.Polygon#getSimplifiedGeometryInternal 2013-12-09 16:37:32 +01:00