BOOL CODRgn::CanApproximate(float x0, float y0, float x1, float y1, float x2, float y2)
Checks to see if a curve can be approximated with a line segment.
Defined in: OdRgn.cpp
Return Value
TRUE if it can be approximated.
Parameters
x0
The x coordinate of the start point of the proposed line.
y0
The y coordinate of the start point of the proposed line.
x1
The x coordinate of the midpoint along the curve from the start point to the endpoint.
y1
The y coordinate of the midpoint along the curve from the start point to the endpoint.
x2
The x coordinate of the end point of the proposed line.
y2
The y coordinate of the end point of the proposed line.