Open WPS Platform

ZOO.Geometry.MultiPoint

MultiPoint is a collection of Points. Create a new instance with the ZOO.Geometry.MultiPoint constructor.

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.MultiPoint Create a new MultiPoint Geometry
addPoint rapper for ZOO.Geometry.Collection.addComponent
removePoint Wrapper for ZOO.Geometry.Collection.removeComponent

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.MultiPoint

Create a new MultiPoint Geometry

Parameters

components {Array(ZOO.Geometry.Point)}

Returns

{ZOO.Geometry.MultPoint}

addPoint
addPoint: function(point,index)

Wrapper for ZOO.Geometry.Collection.addComponent

Parameters

point {ZOO.Geometry.Point} Point to be added
index {Integer} Optional index
removePoint
removePoint: function(point)

Wrapper for ZOO.Geometry.Collection.removeComponent

Parameters

point {ZOO.Geometry.Point} Point to be removed