Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
Guido Italy
20
Years of Service
User Offline
Joined: 25th Dec 2005
Location:
Posted: 5th Jun 2010 16:37
look my image :


I have an isosceles triangle . (ray) + D from x1,y1 to x2,y2)

I know the length of three sides .

I know x1,y1 and x2,y2 .

what is alpha in degrees ??

Thank !
Sven B
21
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 5th Jun 2010 16:48
As I see it, you have several options:

Using the dot product
angle = Bgcos( ((x1 - cx) * (x2 - cx) + (y1 - cy) * (y2 - cy)) / (R*R) )
if you have the coordinates of that center point

If not, you can use
angle = 2.0 * Bgsin( (D/2.0) / R )

Cheers!
Sven B

Guido Italy
20
Years of Service
User Offline
Joined: 25th Dec 2005
Location:
Posted: 5th Jun 2010 21:27
Thank !!!!!

yes i've coordinnates of center point .

but Bgcos what is ?

in DbPro is Acos() ?
Sven B
21
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 5th Jun 2010 21:49
Oh yeah sorry, it's acos().

I was thinking in dutch ^^ Bgcos() = Acos() and Bgsin() = Asin().

Cheers!
Sven B

Guido Italy
20
Years of Service
User Offline
Joined: 25th Dec 2005
Location:
Posted: 5th Jun 2010 22:10
Thank !
Guido Italy
20
Years of Service
User Offline
Joined: 25th Dec 2005
Location:
Posted: 6th Jun 2010 13:44
i have to draw an Arc of circumference .

I kinow :

x1,y1 - x2,y2 - xc.yc and the ray ...

but when drawing the Arc with dots,
i've needed the points are at a certain DISTANCE from each other

DISTANCE from dot to dot = Precision#

please write me a function .. (!)
Guido Italy
20
Years of Service
User Offline
Joined: 25th Dec 2005
Location:
Posted: 6th Jun 2010 15:20
Sorry i start new topic ..

Login to post a reply

Server time is: 2026-07-25 16:22:05
Your offset time is: 2026-07-25 16:22:05