Lists of Geometric Elements


Accessing the geometric elements of a Cinderella construction represents an important interface between CindyScript and a geometric construction. In particular, if for some reason the element names (i.e., labels) are unknown or predefined, one needs a way to retrieve the geometric elements. This is done with operators that return lists of elements of a particular kind.


expression: returns:
allpoints() a list of all points of the construction
alllines() a list of all lines of the construction
allsegments() a list of all segments of the construction
allcircles() a list of all circles of the construction
allconics() a list of all conics of the construction
allelements() a list of all elements of the construction
allmasses() a list of all masses of the construction
allsprings() a list of all springs of the construction
incidences(<geo>) a list of elements incident to another element


Please refer to the examples section for extensive examples on the use of these operators.




Page last modified on Tuesday 13 of December, 2005 [18:34:09 UTC].
The original document is available at http://doc.cinderella.de/tiki-index.php?page=Lists%20of%20Geometric%20Elements