source: trunk/docs/api/zoo-geometry-multipoint.txt @ 937

Last change on this file since 937 was 348, checked in by neteler, 13 years ago

set correctly svn propset

  • Property svn:eol-style set to native
  • Property svn:keywords set to HeadURL Date Author Id Rev
  • Property svn:mime-type set to text/plain
File size: 2.0 KB
Line 
1.. _api-zoo-geometry-multipoint:
2
3ZOO.Geometry.MultiPoint
4=======================
5
6MultiPoint is a collection of Points.  Create a new instance with the
7:ref:`ZOO.Geometry.MultiPoint <ZOO.Geometry.MultiPoint>` constructor.
8
9Inherits from
10
11- :ref:`ZOO.Geometry.Collection <api-zoo-geometry-collection>`
12
13Properties     
14----------
15
16.. list-table::
17   :widths: 12 50
18   :header-rows: 1
19
20   * - NAME
21     - DESCRIPTION
22   * - :ref:`componentTypes <componentTypes>`
23     - {Array(String)} An array of class names representing the types of components that the collection can include.
24
25Functions       
26---------
27
28.. list-table::
29   :widths: 15 50
30   :header-rows: 1
31
32   * - NAME
33     - DESCRIPTION   
34   * - :ref:`ZOO.Geometry.MultiPoint <ZOO.Geometry.MultiPoint>`
35     - Create a new MultiPoint Geometry
36   * - :ref:`addPoint <addPoint>`
37     - rapper for ZOO.Geometry.Collection.addComponent 
38   * - :ref:`removePoint <removePoint>`
39     - Wrapper for ZOO.Geometry.Collection.removeComponent       
40     
41**Properties**
42       
43.. _componentTypes:
44
45componentTypes 
46  ``{Array(String)}`` An array of class names representing the types of components that the collection can include. 
47  A null value means the component types are not restricted.
48 
49**Functions** 
50
51.. _ZOO.Geometry.MultiPoint:
52
53ZOO.Geometry.MultiPoint
54  Create a new MultiPoint Geometry
55
56
57  *Parameters*
58 
59  ``components`` {Array(:ref:`ZOO.Geometry.Point <api-zoo-geometry-point>`)}
60 
61  *Returns*
62
63  :ref:`{ZOO.Geometry.MultPoint} <api-zoo-geometry-multipoint>`
64 
65.. _addPoint:   
66 
67addPoint       
68  ::
69 
70    addPoint: function(point,index)
71
72  Wrapper for :ref:`ZOO.Geometry.Collection.addComponent <addComponent>`
73
74  *Parameters*
75 
76  | ``point`` :ref:`{ZOO.Geometry.Point} <api-zoo-geometry-point>` Point to be added
77  | ``index {Integer}`` Optional index 
78 
79.. _removePoint:     
80 
81removePoint     
82  ::
83 
84    removePoint: function(point)
85
86  Wrapper for :ref:`ZOO.Geometry.Collection.removeComponent <removeComponent>`
87 
88  *Parameters*
89 
90  ``point`` :ref:`{ZOO.Geometry.Point} <api-zoo-geometry-point>` Point to be removed
Note: See TracBrowser for help on using the repository browser.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png