CODController::Manhattan
voidCODController::Manhattan(LPPOINTlpReference, LPPOINTlpTarget)
Compares the target point with the reference point, determines if the x or y difference is greater, and changes the target point so it is only offest in that one axis. This is used to keep lines at 90 degree angles.
Defined in: OdController.cpp
Return Value
void
Parameters
lpReference
The point to use as a reference.
lpTarget
The point to calculate the offsets with.