|Code Listing by Alvin|
computes the distance from a given line segment (in 2d) or draws an anti aliased line
see http://mathworld.wolfram.com/Point-LineDistance2-Dimensional.html for computation of the orthogonal distance to the line.
Where appropriate, gets the orthogonal distance to the line, or one of the two end points.
Can be used to make anti aliased line segment(s) drawings / masks (see lineMask.m)
Can also be used...
All files and free downloads are copyright of their respective owners. We do not provide any hacked, cracked, illegal, pirated version of scripts, codes, components downloads. All files are downloaded from the publishers website, our file servers or download mirrors. Always Virus check files downloaded from the web specially zip, rar, exe, trial, full versions etc. Download links from rapidshare, depositfiles, megaupload etc not published.