bestlineseg( <points>, <num1> {, <num2>} ))
point
2 points providing the best straight segment within a given polyline.
<points>
An array of points
representing a polyline.
<num1>
A numeric value giving
a width tolerance. This is used to measure "straightness".
<num2>
A numeric value giving
a minimum line length for the computed straight segment. If omitted, zero
is assumed.
point p[2] = bestlineseg(ep.vertex,10)