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.

Inherits

Summary
OpenLayers. Geometry. CurveA Curve is a MultiPoint, whose points are assumed to be connected.
Constructor
OpenLayers. Geometry. Curve
Functions
getLength{Float} The length of the curve

Constructor

OpenLayers. Geometry. Curve

Parameters

point{Array(OpenLayers.Geometry.Point)}

Functions

getLength

getLength: function()

Returns

{Float} The length of the curve

getLength: function()
{Float} The length of the curve
MultiPoint is a collection of Points.
Point geometry class.
Close