VECTOR2< T > GetVectorSnapped45(const VECTOR2< T > &aVec)
Snap a vector onto the nearest 0, 45 or 90 degree line.
Definition: geometry_utils.h:71
int GetArcToSegmentCount(int aRadius, int aErrorMax, double aArcAngleDegree)
Definition: geometry_utils.cpp:35