Alvin Lindstam
1dc6c99328
Make ol.geom.Circle support #intersectsExtent, with tests
2015-06-05 14:19:46 +02:00
Andreas Hocevar
100020fd59
Refactoring for more consistency
...
* Min and max number of points configurable for lines and polygons
* Polygons from custom geometryFunction now have a sketch line
* The example shows how to use a custom geometryFunction
2015-05-20 10:28:16 +02:00
Andreas Hocevar
901a0f6d8e
Add functions to create regular polygons
2015-05-14 23:24:29 +02:00
Andreas Hocevar
4e94908440
Define getCoordinates and setCoordinates in the base class
...
Since these methods are implemented by all subclasses, it makes sense to
define them in the base class as abstract method.
2015-05-14 23:24:29 +02:00
Marc Jansen
77a06433be
Add basic docs for geom.simplegeometry
2015-04-22 21:10:00 +02:00
Marc Jansen
1252867f69
Add basic docs for geom.polygon
2015-04-22 21:09:59 +02:00
Marc Jansen
5c19415577
Add basic docs for geom.point
2015-04-22 21:09:59 +02:00
Marc Jansen
4f5982b9d0
Add basic docs for geom.multipolygon
2015-04-22 21:09:59 +02:00
Marc Jansen
f0c235d352
Add basic docs for geom.multipoint
2015-04-22 21:01:07 +02:00
Marc Jansen
4e448dddd6
Add basic docs for geom.multilinestring
2015-04-22 21:00:54 +02:00
Marc Jansen
144c262a9e
Add basic docs for geom.linestring
2015-04-22 21:00:41 +02:00
Marc Jansen
6b1bccfcdd
Add basic docs for geom.linearring
2015-04-22 21:00:29 +02:00
Marc Jansen
7e7c03820a
Add basic docs for geom.geometrycollection
2015-04-22 21:00:16 +02:00
Marc Jansen
6637bf0f21
Add basic docs for geom.geometry
2015-04-22 21:00:05 +02:00
Marc Jansen
aef73c981f
Add basic docs for geom.circle
2015-04-22 20:59:52 +02:00
Éric Lemoine
e45c44fa01
Add missing goog.provide's
2015-04-07 13:49:36 +02:00
Tim Schaub
587c06f565
Stable intersectsExtent method for geometries
2015-04-02 16:23:54 +02:00
Tim Schaub
6134a8bf7a
Use @api annotations where geom methods are implemented
2015-04-02 16:23:53 +02:00
Tim Schaub
d79abe7448
Stable geometry methods
2015-04-02 16:23:53 +02:00
Guillaume Beraudo
567a9d7a5a
Make ol.geom.Geometry inherit from ol.Object
...
This will allow storing per-geometry properties.
2015-03-31 15:28:20 +02:00
Bart van den Eijnden
47ce127a10
Add assert messages for all assertions up until ol.renderer.vector.
2015-03-30 22:55:23 +02:00
Tim Schaub
5d590bcf95
Allow access to right-hand oriented multi-polygon coordinates
2015-03-25 16:57:29 -06:00
Tim Schaub
7572f27cf9
Allow access to right-hand oriented polygon coordinates
2015-03-25 16:57:29 -06:00
Tim Schaub
ce36947bdb
Allow orienting with the right-hand rule
2015-03-25 16:57:25 -06:00
Tim Schaub
5f6ceff3a7
Use ol.geom.flat.orient namespace
2015-03-25 16:33:17 -06:00
Frederic Junod
e669b20ed5
Add new geometry layout option for polyline format
...
To be able to choose the geometry layout of the feature geometries created by
the format reader.
Default is `ol.geom.GeometryLayout.XY`
2015-03-24 11:39:18 +01:00
Frederic Junod
b9aba8babd
Add optional this param to the callback function
2015-03-16 11:25:51 +01:00
Frederic Junod
4b13627fd7
Add new ol.geom.LineString#forEachSegment function
2015-03-16 10:43:33 +01:00
Frederic Junod
65c2f7de5f
Remove unused goog.require
2015-02-05 10:56:44 +01:00
Frédéric Junod
2f5bbb37ed
Merge pull request #3130 from fredj/doc
...
Document default value
2015-01-14 12:39:15 +01:00
Frederic Junod
5f55e01849
Document default value
2015-01-14 12:12:38 +01:00
Frederic Junod
f7943b9401
Set extent and extentRevision variables to private
2015-01-14 11:01:18 +01:00
Frederic Junod
8bd0a1232a
Add geom.ol.geom.Geometry#computeExtent function
2015-01-14 11:01:18 +01:00
Tim Schaub
f9a92c422c
Use bracket notation instead of goog.object.set
2015-01-07 21:08:24 -07:00
Éric Lemoine
14ea2bf413
Add ol.geom.Geometry#translate
2014-12-18 18:42:36 +01:00
Éric Lemoine
374f916b3a
Add ol.geom.flat.transform.translate
2014-12-18 18:42:36 +01:00
Frederic Junod
f8b59dbd53
Use goog.array.extend instead of ol.array.safeExtend
...
The upstream implementation now supports large arrays.
See https://github.com/google/closure-library/pull/356
2014-12-09 11:55:27 +01:00
Frederic Junod
c701ad6749
Mark applyTransform api stable
2014-11-13 10:46:06 +01:00
Éric Lemoine
1ce43e323d
Add ol.geom.Polygon.fromExtent
2014-10-14 11:32:20 +02:00
Éric Lemoine
a94f02e463
Revert "Function circular renamed to createCircularOnSphere"
...
This reverts commit ac8e7e16c2 .
2014-09-23 09:41:03 +02:00
Éric Lemoine
d85d34f3dd
Better docs for ol.geom.Polygon#createCircularSphere
2014-09-18 08:48:05 +02:00
Éric Lemoine
ac8e7e16c2
Function circular renamed to createCircularOnSphere
2014-09-17 17:59:46 +02:00
Éric Lemoine
72e173d925
Rename ol.extent.segmentIntersects to intersectsSegment
2014-09-17 12:26:26 +02:00
Éric Lemoine
88911200c2
Add ol.geom.GeometryCollection#intersectsExtent
2014-09-17 12:17:32 +02:00
Éric Lemoine
92c2aca480
Add ol.geom.MultiLineString#intersectsExtent
2014-09-17 12:17:32 +02:00
Éric Lemoine
8d7cf7960a
Add ol.geom.LineString#intersectsExtent
2014-09-17 12:17:32 +02:00
Éric Lemoine
d1f6f132d6
Add ol.geom.MultiPolygon#intersectsExtent
2014-09-17 12:17:32 +02:00
Éric Lemoine
8bdeca9f0a
Add ol.geom.Polygon#intersectsExtent
2014-09-17 12:17:32 +02:00
Éric Lemoine
67f98145bb
Add ol.geom.MultiPoint#intersectsExtent
2014-09-17 12:17:32 +02:00
Éric Lemoine
612cf70560
Add ol.geom.Point#intersectsExtent
2014-09-17 12:17:32 +02:00