Yahoo! UI Library

CHZERO  1.0.0

Yahoo! UI Library > CHZERO > OpenLayers.Geometry.Curve
Search:
 
Filters

Class OpenLayers.Geometry.Curve - extends OpenLayers.Geometry.MultiPoint

Known Subclasses:
OpenLayers.Geometry.LineString
OpenLayers.Geometry.Curve
A Curve is a MultiPoint, whose points are assumed to be connected. To this end, we provide a “getLength()” function, which iterates through the points, summing the distances between them.

Constructor

OpenLayers.Geometry.Curve ( point )
Parameters:
point <Array(OpenLayers.Geometry.Point)>

Properties inherited from OpenLayers.Geometry.Collection:

Methods

getGeodesicLength

Float getGeodesicLength ( projection )
Parameters:
projection <OpenLayers.Projection>
Returns: Float
geodesic area

getLength

Float getLength ( )
Returns: Float
geometry length


Copyright © 2012 Yahoo! Inc. All rights reserved.