Changeset 192 for trunk/docs/api/zoo-geometry-collection.txt
- Timestamp:
- Apr 27, 2011, 10:27:15 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/docs/api/zoo-geometry-collection.txt
r190 r192 4 4 ======================= 5 5 6 A Collection is exactly what it sounds like: A collection of different Geometries. 6 A Collection is exactly what it sounds like: A collection of different Geometries. 7 These are stored in the local parameter :ref:`components <components>` (which can 8 be passed as a parameter to the constructor). 9 10 As new geometries are added to the collection, they are NOT cloned. When removing geometries, 11 they need to be specified by reference (ie you have to pass in the exact geometry to be removed). 12 13 The <getArea> and :ref:`getLength <getLength>` functions here merely iterate through the components, 14 summing their respective areas and lengths. 15 16 Create a new instance with the :ref:`ZOO.Geometry.Collection <ZOO.Geometry.Collection>` constructor. 17 18 Inherits from 19 20 - :ref:`ZOO.Geometry <api-zoo-geometry>` 7 21 8 22 Properties
Note: See TracChangeset
for help on using the changeset viewer.