In Oracle PL/SQL, SDO_GEOM is the built in package whose subprograms deal with spatial model of Oracle. It contains geometry functions which determine the validation and relationship properties of geometry of its input arguments.
The subprograms contained by SDO_GEOM are described below:
SDO_GEOM.RELATE: Determines the relationship between two geometric objects
SDO_GEOM.VALIDATE_GEOM: Determines whether input geometry is valid or not.
SDO_GEOM.VALIDATE_LAYER: Determines validation property of all geometries within a layer.