This website requires JavaScript.
Explore
Help
Sign In
ashatora
/
openlayers
Watch
1
Star
0
Fork
0
You've already forked openlayers
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
Files
c8c9b51e7382ccb346aee545e8be123e3a331cc9
openlayers
/
tests
/
Geometry
History
Tim Schaub
28558c171c
Giving the getCentroid method on geometry collections a 'weighted' argument. If true, the centroid will be calculated based on the weighted average of all component centroids. Thanks for the great patch dzwarg. r=me (
closes
#2469
)
...
git-svn-id:
http://svn.openlayers.org/trunk/openlayers@10652
dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-08-20 20:28:48 +00:00
..
Collection.html
Giving the getCentroid method on geometry collections a 'weighted' argument. If true, the centroid will be calculated based on the weighted average of all component centroids. Thanks for the great patch dzwarg. r=me (
closes
#2469
)
2010-08-20 20:28:48 +00:00
Curve.html
fix up tests, remove _01_. (
Closes
#1387
)
2008-03-31 05:31:28 +00:00
LinearRing.html
LinearRing.getCentroid: return null if the geometry has no components. r=pgiraud (
closes
#2530
)
2010-03-19 09:05:12 +00:00
LineString.html
Adding methods for getting geodesic measures from geometries. Assuming geometries can be transformed into Geographic/WGS84, getGeodesicLength and getGeodesicArea should return reasonable 'on the ground' metrics. Use getLength and getArea for the planar metrics. r=crschmidt (
closes
#1819
)
2009-04-08 23:12:24 +00:00
MultiLineString.html
Add split method for linestring and multilinestring geometries. Use for splitting one geometry with another. Optionally performs a mutual split. r=ahocevar (
closes
#1929
)
2009-03-09 22:19:07 +00:00
MultiPoint.html
Adding distanceTo method to all geometry types. This calculates the shortest distance between any two geometries. For geometries that are entirely contained within polygons, the distance returned will be the distance to the nearest edge. Set the edge option to false to return 0 in cases where one geometry contains another. Details about the distance calculation can be returned by setting the details option true. Details include information about endpoints of the shortest segment between the two geometries. r=ahocevar (
closes
#1907
)
2009-02-05 17:43:34 +00:00
MultiPolygon.html
fix up tests, remove _01_. (
Closes
#1387
)
2008-03-31 05:31:28 +00:00
Point.html
Adding getVertices method to all geometries. Call with nodesOnly true if you only want endpoints (of lines and multilines). r=crschmidt (
closes
#1192
)
2009-02-05 22:49:03 +00:00
Polygon.html
Adding methods for getting geodesic measures from geometries. Assuming geometries can be transformed into Geographic/WGS84, getGeodesicLength and getGeodesicArea should return reasonable 'on the ground' metrics. Use getLength and getArea for the planar metrics. r=crschmidt (
closes
#1819
)
2009-04-08 23:12:24 +00:00
Rectangle.html
fix up tests, remove _01_. (
Closes
#1387
)
2008-03-31 05:31:28 +00:00
Surface.html
fix up tests, remove _01_. (
Closes
#1387
)
2008-03-31 05:31:28 +00:00