Frederic Junod
62bc7b75d7
Named exports from ol/geom/flat/flip
2018-01-26 16:33:02 +01:00
Frederic Junod
d15c4ce511
Named exports from ol/geom/flat/segments
2018-01-26 16:29:40 +01:00
Frederic Junod
d64b5c52a2
Named exports from ol/geom/flat/center
2018-01-26 16:24:41 +01:00
Frederic Junod
aea39782fb
Named exports from ol/geom/flat/contains
2018-01-26 16:03:29 +01:00
Frederic Junod
47015eba0c
Named exports from ol/geom/flat/reverse
2018-01-26 15:45:17 +01:00
Frederic Junod
297fd14507
Named exports from ol/geom/flat/topology
2018-01-26 15:35:14 +01:00
Frederic Junod
135f713236
Named exports from ol/geom/flat/area
2018-01-26 15:31:04 +01:00
Tim Schaub
ad62739a6e
Use blocked scoped variables
...
In addition to using const and let, this also upgrades our linter config and removes lint (mostly whitespace).
2018-01-12 00:50:30 -07:00
Tim Schaub
fca8b13ddd
Rename _ol_geom_SimpleGeometry_ to SimpleGeometry
2017-12-14 09:03:51 -07:00
Tim Schaub
9d396280b0
Rename _ol_geom_MultiPolygon_ to MultiPolygon
2017-12-14 08:56:51 -07:00
Tim Schaub
7f47883c48
Transformed
2017-12-12 06:53:18 -07:00
Andreas Hocevar
431d570b91
Only split text at line angle changes
2017-11-03 11:26:38 +01:00
Andreas Hocevar
abd50b8fcf
Utility to get the longest straight chunk of a linestring
2017-09-11 16:54:28 +02:00
Andreas Hocevar
efc86d59b0
Implement text rendering along paths
...
This commit also changes the TextReplay.drawText() signature, and moves
geometry calculation into drawText(). This improves performance where no
text needs to be rendered (TextStyle.getText() == ''), which is used often
in applications.
2017-09-11 16:54:27 +02:00
Tim Schaub
a3e3e99baa
Get rid of useless test exports
2017-08-17 15:16:58 -04:00
Marc Jansen
d0ef05977b
Autofix indentation issues (eslint --fix)
2017-06-19 11:58:00 +02:00
Björn Harrtell
656af72615
Use winding number algorithm for linearRingContainsXY
2016-11-29 09:10:47 +01:00
Björn Harrtell
6c644186ba
Add test case for ol.geom.flat.contains
2016-11-29 09:07:10 +01:00
GaborFarkas
360e77481d
Restructure webgl replays
2016-11-23 09:51:36 +01:00
GaborFarkas
3f828248b9
Rework isClosed with added tests
2016-11-23 09:49:47 +01:00
Tim Schaub
a27d0da8a5
Add transform2D to ol.geom.SimpleGeometry
2016-08-12 10:54:06 -06:00
Tim Schaub
9d276982b5
Assorted missing requires
2016-08-12 10:53:50 -06:00
Tim Schaub
5643d3ec77
Missing requires in tests
2016-08-12 10:53:49 -06:00
Tim Schaub
ed5dbd1293
Put test requires on top
2016-08-08 09:58:11 -06:00
Tim Schaub
f07f78fbd7
Move flat geom files so they are named like their provides
2016-08-07 10:49:10 -06:00
Andreas Hocevar
cf7ff841a7
Remove use of goog.vec.*
2016-06-23 13:10:41 +02:00
Andreas Hocevar
a3cc322593
Fix indentation
2016-03-12 16:25:38 +01:00
Marc Jansen
410dddaa46
Add basic tests for ol.geom.flat.center
2016-03-11 13:51:10 +01:00
Marc Jansen
c1263af9b1
Fix typo in test description
2016-03-11 09:25:50 +01:00
Frederic Junod
d5564a04db
Add new ol.geom.Geometry#rotate function
2016-03-08 17:05:19 +01:00
Marc Jansen
2113c749b1
Add basic tests for ol.geom.flat.length methods
2016-03-06 15:08:40 +01:00
Andreas Hocevar
ebc98ec1bb
Address TODOs
...
To make sure that our binarySearch implementation meets the requirements of
the library, I added more tests for ol.geom.flat.interpolate.lineString, only
to find out that it does not handle line strings with repeated vertices
properly, regardless of what binarySearch implementation is used.
2016-02-03 11:41:41 +13:00
Tim Schaub
4e0cddcb41
Lint-free tests
2016-01-11 18:56:07 -08:00
Tim Schaub
3f23dfb87b
Indentation
2016-01-11 18:56:07 -08:00
Tim Schaub
ce36947bdb
Allow orienting with the right-hand rule
2015-03-25 16:57:25 -06:00
Ilia Choly
ee9cfef35a
Enable reverseflatgeom tests
2015-01-16 13:40:47 -05:00
Éric Lemoine
374f916b3a
Add ol.geom.flat.transform.translate
2014-12-18 18:42:36 +01:00
Éric Lemoine
cdbc1a07be
Add ol.geom.flat.intersectsextent
...
Includes functions for testing if an extent and a geometry intersect.
2014-09-17 12:17:31 +02:00
Éric Lemoine
3ce6229d34
Add ol.geom.flat.segments.forEach
2014-09-17 12:17:31 +02:00
Bart van den Eijnden
e3cbece91b
Add some test coverage for ol.geom.transformSimpleGeometry2D
2014-06-27 10:07:47 +02:00
Björn Harrtell
ce40a142fa
opt_dest should be assigned to not pushed
2014-05-21 12:02:26 +02:00
Tom Payne
78c8d976eb
Remove empty ol.geom.flat
2014-03-12 13:26:14 +01:00
Tom Payne
65dcc38fad
Factor out ol.geom.flat.reverse
2014-03-12 13:26:14 +01:00
Tom Payne
3541a01aab
Factor out ol.geom.flat.inflate
2014-03-12 13:26:14 +01:00
Tom Payne
9ca996725e
Factor out ol.geom.flat.flip
2014-03-12 13:26:14 +01:00
Tom Payne
266c43dc78
Factor out ol.geom.flat.deflate
2014-03-12 13:26:14 +01:00
Tom Payne
1363ce3a58
Factor out ol.geom.flat.orient
2014-03-12 13:26:14 +01:00
Tom Payne
becd1318bd
Factor out ol.geom.flat.area
2014-03-12 13:26:13 +01:00
Tom Payne
522fda1688
Factor out ol.geom.flat.interpolate
2014-03-12 13:26:13 +01:00
Tom Payne
c8165a8168
Factor out ol.geom.flat.simplify
2014-03-12 13:26:13 +01:00