source: trunk/docs/api/zoo-geometry-curve.txt @ 817

Last change on this file since 817 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: 1.4 KB
RevLine 
[348]1.. _api-zoo-geometry-curve:
2
3ZOO.Geometry.Curve
4==================
5
6A Curve is a MultiPoint, whose points are assumed to be connected.  To this end,
7we provide a "getLength()" function, which iterates through the points, summing the
8distances between them.
9
10Inherits from
11
12- :ref:`ZOO.Geometry.MultiPoint <api-zoo-geometry-multipoint>`
13
14Properties     
15----------
16
17.. list-table::
18   :widths: 12 50
19   :header-rows: 1
20
21   * - NAME
22     - DESCRIPTION
23   * - :ref:`componentTypes <componentTypes>`
24     - {Array(String)} An array of class names representing the types of components that the collection can include.
25
26Functions       
27---------
28
29.. list-table::
30   :widths: 15 50
31   :header-rows: 1
32
33   * - NAME
34     - DESCRIPTION   
35   * - :ref:`ZOO.Geometry.Curve <ZOO.Geometry.Curve>`
36     -
37   * - :ref:`getLength <getLength>`
38     - {Float} The length of the curve       
39     
40**Properties**
41       
42.. _componentTypes:
43
44componentTypes 
45  ``{Array(String)}`` An array of class names representing the types of components that the
46  collection can include.  A null value means the component types are not restricted. 
47 
48**Functions**
49
50.. _ZOO.Geometry.Curve:
51
52ZOO.Geometry.Curve
53
54  *Parameters*
55 
56  ``point`` {Array(:ref:`ZOO.Geometry.Point <api-zoo-geometry-point>`)}
57 
58.. _getLength:
59
60getLength
61
62  ::
63 
64    getLength: function()
65
66  *Returns*
67
68  ``{Float}`` The length of the curve
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