Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trig Calculation....
Message
De
17/12/2003 03:50:02
 
 
À
16/12/2003 11:17:56
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00859407
Message ID:
00859797
Vues:
21
Hi Dragan,

>>
Should be simple enough - the top coordinate of the rectangle is either one of the end points, or the top of the arc (at 90 degree angle, counting from x axis). You only need to know the angles - whether the 90 degree is between them or not.
Same goes for the other three sides.
>>

I agree it's very simple in principle - sketch an example on a scrap of paper and you can easily work out the correct values. I'm just finding it difficult to come up with an (elegant) algorithm to get the program to do the same thing...

>>
Um... this is simple if we assume the rectangle is parallel to the axes.
>>
Yes. You can assume that.

Regards,
Viv
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform