MultiPoint is a collection of Points. Create a new instance with the ZOO.Geometry.MultiPoint constructor.
Inherits from
| NAME | DESCRIPTION |
|---|---|
| componentTypes | {Array(String)} An array of class names representing the types of components that the collection can include. |
| 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
Functions
Create a new MultiPoint Geometry
Parameters
components {Array(ZOO.Geometry.Point)}
Returns
addPoint: function(point,index)
Wrapper for ZOO.Geometry.Collection.addComponent
Parameters
removePoint: function(point)
Wrapper for ZOO.Geometry.Collection.removeComponent
Parameters
point {ZOO.Geometry.Point} Point to be removed