>How do I compute the width of each of the three lines ?

If you want strictly the horizontal width, then
w = Max(Point(1), Point(3), Point(5)) - Min(Point(1), Point(3), Point(5))

If you want the straight line length from the first point to the last 
point then
use the Pythagorean theorem Length^2 = Width^2 + Height^2

Length = SquareRoot((((Point(5)-Point(1))^2)+(((Point(6)-Point(2))^2))

If you want the total length of all the line segments then calculate 
the length of each individual line segment as above and add them 
together.

Hope this helps,
Joe Huber
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to