31 return SEG{ { aStart.
x, aStart.
y }, { aStart.
x + aLength, aStart.
y } };
36 return SEG{ { aStart.
x, aStart.
y }, { aStart.
x, aStart.
y + aLength } };
SEG BuildVSeg(const VECTOR2I &aStart, int aLength)
Build a vertical segment from a point with a length.
SEG BuildHSeg(const VECTOR2I &aStart, int aLength)
Build a horizontal segment from a point with a length.
Utilities for creating useful line chain idioms commonly founds in QA utilities and tests.