gis:random-point-inside
gis:random-point-inside VectorFeature
Reports a single randomly-generated Vertex that lies within the given feature polygon. Generated points are uniformly distributed within the polygon and both polygon holes and multi-polygon features are supported.
; create 100 turtles randomly distributed throught a VectorFeature `vf`
crt 100 [
let loc gis:location-of gis:random-point-inside vf
set xcor item 0 loc
set ycor item 1 loc
]
Take me to the full GIS Extension Dictionary