Information générale
Catégorie:
Codage, syntaxe et commandes
Hi,
>I should have paid more attention when this stuff was fed to me!:-)
Or used one line in .NET:
regionE1.Intersect(regionE2).IsEmpty ;
GD&R
Viv
>>Actually, it may be even simpler - if they are identical, just one rotated by 90 degrees over the other, then you can calculate this in a really simple manner: your x=y (or x=-y), so you can substitute y for x in the equation of either of them, solve it for y and that's it.
>
>Good point. The intersect for identical perpendicular bisected elipses splits all the x,y's (-x,-y) at 45deg. so I did a rough plot with SIN(DTOR(45)) (which, BTW, also equals COS(DTOR(45)) for the x and y's.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement