private int dimension(Geometry geom){
  if (outputDimension != OraGeom.NULL_DIMENSION)   return outputDimension;
  int d=Double.isNaN(geom.getCoordinate().z) ? 2 : 3;
  return d;
}

private int dimension ( Geometry geom ) { if ( outputDimension != OraGeom . NULL_DIMENSION ) return outputDimension ; int d = Double . isNaN ( geom . getCoordinate ( ) . z ) ? 2 : 3 ; return d ; }
return dimension of output coordinates ( either 2 , 3 or 4 ) , respecting the explicit output dimension ( if any ) .
