gettingstarted
[Top] [All Lists]

Re: Trigonometry help

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: Trigonometry help
From: Seth Willits <seth at freaksw dot com>
Date: Wed, 29 Dec 2004 13:10:22 -0800
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <6a dot 4b6a39aa dot 2efd70ef at aol dot com> <41CC21B1 dot E99D8D6C at online dot no> <41CDE387 dot AFCD2B6A at online dot no> <201F4A4D-56C1-11D9-94B4-003065F2C108 at shaw dot ca> <41CF5DC9 dot 5178A347 at online dot no> <41D31AA0 dot 333EAACD at online dot no>
On Dec 29, 2004, at 12:59 PM, Eirik Karlsen wrote:

Here are the details:
On a canvas, at location 150,150, are two filled concentric circles
(360deg ArcShapes),
the one on the bottom has a radius of 100 and the  one on the top has a
radius of 90.

The problem is to identify (set a flag) when the mouse is in the non
overlapping area...
that is; inside of the bigger circle AND outside of the smaller one.

Just do a simple radius test.



Seth Willits
------------------------------------------------------------------------ ---
President and Head Developer of Freak Software - http://www.freaksw.com
REALbasic Guru at ResExcellence - http://www.resexcellence.com/realbasic

"If you can't beat your computer at chess, try kick boxing."
        -- Someone
------------------------------------------------------------------------ ---

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>