RandomPointIn Command

From GeoGebra Manual
Revision as of 21:36, 10 September 2015 by Zbynek (talk | contribs) (Errors in description)
Jump to: navigation, search


RandomPointIn[ <Region> ]

Creates a random point inside given polygon or conic.

RandomPointIn[ <List of Points> ]

Returns a random point inside the polygon with given vertices.

Example: RandomPointIn[Polygon[A,B,C]] and RandomPointIn[A,B,C] both give random point inside triangle ABC.

To get a random point that belongs to the list use Random Element instead.

RandomPointIn[ <xMin>, <xMax>, <yMin>, <yMax> ]

Creates a random point with x-coordinate from interval [xMin,xMax] and y-coordinate from interval [yMin, yMax].

© 2024 International GeoGebra Institute