Marc Jansen
f477fd8ced
Allow multi* geometries in Collections/collections.
2012-06-25 23:19:25 +02:00
Marc Jansen
6d84d4d3a1
Add geom/MultiLineString classes and tests.
2012-06-25 21:36:17 +02:00
Marc Jansen
be9448457d
Test & improve the getCentroid/centroid method of collections
2012-06-22 18:24:53 +02:00
Marc Jansen
abb254a0fb
Test the getCentroid/centroid Method of multipoints
2012-06-22 18:24:53 +02:00
Marc Jansen
4dd3e695a4
Test the getCentroid/centroid Method of linestrings
2012-06-22 17:25:39 +02:00
Marc Jansen
e23b119059
Whitespace changes only.
2012-06-22 16:26:19 +02:00
Marc Jansen
09d7f15fb2
Give points a getCentroid/centroid method.
2012-06-22 16:26:19 +02:00
Marc Jansen
11aedf710b
Test restructuring. No functional change.
2012-06-22 13:07:52 +02:00
Marc Jansen
8f90db58dc
MultiPoints shall only contain points.
2012-06-21 18:23:37 +02:00
Marc Jansen
340caf2720
Collections cannot contain Collections.
...
By having both the constructor and the setComponents checking
a white- and a blacklist for allowed types, we ensure that no
Collections can be added through these methods to the list of
components.
2012-06-21 18:23:37 +02:00
Marc Jansen
ce49bb8876
Add LineString/linestring.
...
The inhertance of this class might change in the future.
2012-06-21 16:00:08 +02:00
Marc Jansen
0374d1abc7
Add geom.Collection & geom.collection.
...
Also make MultiPoint and multipoint inherit from Collection/collection
respectively.
2012-06-21 16:00:08 +02:00
Marc Jansen
f85d6402e9
Add MultiPoint and multipoint.
2012-06-21 12:19:42 +02:00
Marc Jansen
d933404df8
Make Points transformable.
2012-06-20 14:58:37 +02:00
Marc Jansen
33c2e0aa30
Correct the tests for geom.Point and geom.point.
...
Add tests for the API version `ol.point()`; adjust the tests for the internal
`new ol.Point()`.
2012-06-20 13:36:07 +02:00
Tim Schaub
14b1a34f98
Splitting tests between api and internal.
2012-06-20 11:56:20 +02:00
Marc Jansen
85f0f43b7b
Saving state prior to spec moving.
2012-06-20 11:30:06 +02:00
Marc Jansen
aec8f953e5
Remove the mixin approach and give the Point class a projection.
2012-06-20 11:18:07 +02:00
Marc Jansen
450f8f7b74
First state of a geom package.
2012-06-19 18:21:21 +02:00