Commit Graph

208 Commits

Author SHA1 Message Date
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
Tom Payne 956bff0fe2 Add ol.geom.LinearRing#getSimplifiedGeometryInternal 2013-12-09 16:37:32 +01:00
Tom Payne 6275d8528e Add ol.geom.LineString#getSimplifiedGeometryInternal 2013-12-09 16:37:32 +01:00
Tom Payne 9612182f70 Add ol.geom.Geometry#getSimplifiedGeometry 2013-12-09 16:37:32 +01:00
Tom Payne 7981d86bcd Add ol.geom.simplify.douglasPeukerss 2013-12-09 16:37:32 +01:00
Tom Payne abe0cd27f6 Add ol.geom.simplify.douglasPeukers 2013-12-09 16:37:32 +01:00
Tom Payne ec03be94d6 Add initial ol.geom.simplify 2013-12-09 16:37:32 +01:00
Tom Payne 554e17ac22 Set geometry to null if no geometry given 2013-12-07 19:51:54 +01:00
Tom Payne 1ae13f152d Fire change event when an ol.geom.Geometry is transformed 2013-12-06 21:12:32 +01:00
Tom Payne 6c5f1fbcce Make ol.geom.Geometry inherit from ol.Observable 2013-12-06 16:30:00 +01:00
Tom Payne 82fa4861e7 Allow ol.geom.LinearRings to have null coordinates and add setFlatCoordinates 2013-12-05 16:23:56 +01:00
Tom Payne 057cda42be Rename ol.geom.Type to ol.geom.GeometryType 2013-12-04 16:28:36 +01:00
Tom Payne c2228b1d19 Rename ol.geom.Layout to ol.geom.GeometryLayout 2013-12-04 16:27:03 +01:00
Tom Payne 1a9d19a2fb Allow geometries to have null coordinates and add setFlatCoordinates 2013-12-03 19:58:34 +01:00
Tom Payne 580f7d2022 Ensure endss is truncated if needed in ol.geom.flat.deflateCoordinatesss 2013-12-03 19:43:00 +01:00
Tom Payne b06ef0290c Add ol.geom.flat.deflateCoordinate 2013-12-03 16:53:23 +01:00
Tom Payne 27982ec5e7 Factor out ol.geom.Geometry.getStrideForLayout_ 2013-12-03 15:44:44 +01:00
Tom Payne 0477101c28 Factor out ol.geom.Geometry.getLayoutForStride_ 2013-12-03 15:44:25 +01:00
Tom Payne 2c40daea22 Add ol.geom.LinearRing#getArea 2013-12-02 14:47:32 +01:00