Oracle Solution for Error ora-54518

Solution for Oracle Error ORA-54518

ORA-54518: shared edge of composite surface not oriented correctly

What triggered the Error:

A shared edge (one shared by two polygons) in a composite surface was not correctly oriented. Each shared edge must be oriented in one direction with respect to its first polygon and then in the reverse direction with respect to its second polygon.

What should we do to fix it:

Reverse one of the directions of the shared edge with respect to its polygons.