Deriving an angle from three points
revdev at pdslabs.net
Wed Dec 16 02:40:10 EST 2009
I never took trig, but I imagine some of Rev's trig functions might be
helpful in determining this. If it's any help, here's a button handler
that draws the angle:
put "40,116/98,186/132,118" into tPointsList
replace "/" with cr in tPointsList
set the style of the templateGraphic to "polygon"
set the lineSize of the templateGraphic to 1
set the showBorder of the templateGraphic to true -- to show the grc
create grc "angle"
set the points of grc "angle" to tPointsList
When I draw it, I see there is a right angle at the bottomRight of it
that might serve as a reference point of some sort? Of course a real
numbers person wouldn't need to draw anything to "see" this. It would be
I'll be interested to see the solution too.
On 12/15/09 10:21 PM, Mark Swindell wrote:
> How would one determine the angle created from three points, such as those above?
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
Professional Software Development
More information about the Use-livecode