Name

CG_Orientation — Determine surface orientation

Synopsis

integer CG_Orientation(geometry geom);

Descripción

The function only applies to polygons. It returns -1 if the polygon is counterclockwise oriented and 1 if the polygon is clockwise oriented.

Availability: 3.5.0

This method needs SFCGAL backend.

This function supports 3d and will not drop the z-index.