Clear Filters
Clear Filters

What is an edge exacty in matlab? is it simply a line ?

1 view (last 30 days)
Here i'm not talking about image processing or edge detection. i mean drawing an edge given two points what does it mean? if it is simply a line then why we call it edge. In the packege geom2d.rar there are functions drawEdge intersecEdges etc , ... i just dont understand what is the difference between an edge and a line

Accepted Answer

David Young
David Young on 5 Apr 2015
Edited: David Young on 5 Apr 2015
I assume you're referring to David Legland's toolbox from the FEX. It isn't a question of how the term is used "in matlab", it's a question of how David Legland is using it in his toolbox. The best way to get clarification would be to ask him - you could try contacting via his author page, if you haven't already done so.
However, from the documentation for lines2d and edges2d, it seems clear that "line" is used to mean an unbounded line (i.e. without end points), whilst "edge" is used to mean a bounded line, often called a line segment (i.e. with end points).
David Young
David Young on 5 Apr 2015
Just had another look at the documentation and revised my answer, bh. To contact him, just go to the toolbox page on the FEX (link above), click his name, then view profile, and you'll find a "contact" link. But I think I've got it figured out now.
bh dhouha
bh dhouha on 5 Apr 2015
yap i understood now the difference :) thanks david

Sign in to comment.

More Answers (0)


Find more on Graphics Object Properties in Help Center and File Exchange


Community Treasure Hunt

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

Start Hunting!