close
Warning:
Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.
- Timestamp:
-
Feb 11, 2010, 8:33:11 AM (15 years ago)
- Author:
-
Víctor de Buen Remiro
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v15
|
v16
|
|
287 | 287 | Real min.x, Real max.x, |
288 | 288 | Real min.y, Real max.y, |
289 | | Real min.r, Real max.r,) |
| 289 | Real min.r, Real max.r) |
290 | 290 | { |
291 | 291 | @Circle::New(Rand(min.x,max.x), |
… |
… |
|
297 | 297 | Real includes(Real x, Real y) |
298 | 298 | { |
299 | | (x-_.center.x)^2+(y-_.center.y)^2<=_.radius^2 |
300 | | } |
301 | | |
302 | | }; |
| 299 | (x-_.center.x_)^2+(y-_.center.y_)^2<=_.radius^2 |
| 300 | }; |
| 301 | Real outsides(Real x, Real y){ Not(includes(x,y)) } |
| 302 | }; |
303 | 303 | |
304 | 304 | @Circle c1 = @Circle::New(0,0,1); |