how do i get the axact coordinates of a diagional line?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Lorenzo Chatterpal
le 21 Oct 2014
Commenté : Image Analyst
le 21 Oct 2014
Using the corner function.... On a straight line, and I am extracting the corners and obtaining the coordinates perfectly... However for a triangle for instance I only need 3 sets of coordinates, but because it is a diagonal line I am getting above 30 sets of coordinates because of its edges, how do I obtain the exact set of coordinates, and I want?
0 commentaires
Réponse acceptée
Image Analyst
le 21 Oct 2014
I suppose the endpoints of the edge lines would be the first element and the last element. So theLine(1) and theLine(end).
2 commentaires
Image Analyst
le 21 Oct 2014
I have no idea what kind of data you have, other than it's three 30-element long arrays that define the three edges of a triangle. But that's not really enough for me to go on. I don't even know what a "2md" line is. How is that related to the three other lines you have? I have no idea. Read this http://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-answer
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Lighting, Transparency, and Shading dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!