Oracle Message ORA-13367 - wrong orientation for interior/exterior rings

ERRORwrong orientation for interior/exterior rings
CAUSEIn an Oracle Spatial geometry, the exterior and/or interior rings are not oriented correctly.
ACTIONBe sure that the exterior rings are oriented counterclockwise and the interior rings are oriented clockwise.