CODRgn::Midpoint
inline voidCODRgn::Midpoint(floatx0, floaty0, floatx1, floaty1, float&midX, float&midY)
Finds the midpoint of a line.
Defined in: OdRgn.h
Return Value
void
Parameters
x0
The x coordinate of the start of the line.
y0
The y coordinate of the start of the line.
x1
The x coordinate of the end of the line.
y1
The y coordinate of the end of the line.
midX
A reference that is set x coordinate of the midpoint.
midY
A reference that is set y coordinate of the midpoint.