如何编程判定 点 和 四边形 的位置关系。
Afficher commentaires plus anciens
求高手指教,如何用MATLAB编程,判断平面上的一个已知点在一个四边形的里面还是外面呢?
比如点P(x,y),四边形的控制顶点分别为:A(x1,y1) , B(x2,y2) , C(x3,y3) , D(x4,y4) 。应该怎么编写代码判断点P是否在四边形围成的区域里面呢?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur 二维图和三维图 dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!