How to identify that moment when two circles are in contact or not

1 vue (au cours des 30 derniers jours)
Arvind Kumar Pathak
Arvind Kumar Pathak le 5 Mai 2017
Modifié(e) : KSSV le 5 Mai 2017
I have two circle. one circle in coming towards second circle from certain height due to gravity. i want to identify that moment when two circle in contact. also if they are in contact which are the contact points on the pheriferi of two circle
Please help me

Réponses (2)

Walter Roberson
Walter Roberson le 5 Mai 2017
Two circles are in contact if the distance between their centers is less than or equal to the sum of the two radii.
  1 commentaire
KSSV
KSSV le 5 Mai 2017
Modifié(e) : KSSV le 5 Mai 2017
Yes the simple logic.....+1

Connectez-vous pour commenter.


KSSV
KSSV le 5 Mai 2017
Modifié(e) : KSSV le 5 Mai 2017
You should be having coordinates (x,y) for both the circles. Use this file exchange code to get the intersection of two circles. https://in.mathworks.com/matlabcentral/fileexchange/22441-curve-intersections. If two circles intersect you will get the points, if not no points.

Catégories

En savoir plus sur Simulation dans Help Center et File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by