Normalize to a unit vector.
Definition at line 520 of file lwgeodetic.c.
References FP_IS_ZERO, POINT2D::x, and POINT2D::y.
Referenced by edge_calculate_gbox().