Open WPS Platform

ZOO.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 from

Properties

NAME DESCRIPTION
componentTypes {Array(String)} An array of class names representing the types of components that the collection can include.

Functions

NAME DESCRIPTION
ZOO.Geometry.Curve  
getLength {Float} The length of the curve

Properties

componentTypes
{Array(String)} An array of class names representing the types of components that the collection can include. A null value means the component types are not restricted.

Functions

ZOO.Geometry.Curve

Parameters

point {Array(ZOO.Geometry.Point)}

getLength

getLength: function()

Returns

{Float} The length of the curve