*/
public Geometry asGeometry(STRUCT sdoGeometry) throws SQLException {
// Note Returning null for null Datum
if( sdoGeometry == null ) return null;
Datum data[] = sdoGeometry.getOracleAttributes();
final int GTYPE = asInteger( data[0], 0 );
final int SRID = asInteger( data[1], SDO.SRID_NULL );
final double POINT[] = asDoubleArray( (STRUCT) data[2], Double.NaN );
final int ELEMINFO[] = asIntArray( (ARRAY) data[3], 0 );
final double ORDINATES[] = asDoubleArray( (ARRAY) data[4], Double.NaN );;