geometry[randpoint] - generate a random point on a line or a circle
|
Calling Sequence
|
|
randpoint(w, u, v)
|
|
Parameters
|
|
w
|
-
|
the name of a random point
|
u
|
-
|
line, circle, or range
|
v
|
-
|
range
|
|
|
|
|
Description
|
|
•
|
The output is a point with coordinates in the given range or lying on the given line or circle.
|
•
|
The command with(geometry,randpoint) allows the use of the abbreviated form of this command.
|
|
|
Examples
|
|
>
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
[1. cos(.8760389788 Pi), 1. sin(.8760389788 Pi)]
|
|
|
|
|
Download Help Document
Was this information helpful?