how do i get the axact coordinates of a diagional line?
1 view (last 30 days)
Show older comments
Lorenzo Chatterpal
on 21 Oct 2014
Commented: Image Analyst
on 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 Comments
Accepted Answer
Image Analyst
on 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 Comments
Image Analyst
on 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
More Answers (0)
See Also
Categories
Find more on Lighting, Transparency, and Shading in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!