}
/** Converts a SDO Polygon to a GISToolkit Polygon. */
private static Polygon convertSDOCurvePolygon(oracle.sdoapi.geom.CurvePolygon inPolygon){
// convert the external ring.
CurveString tempSDORing = inPolygon.getExteriorRing();
if (tempSDORing == null) return null;
LinearRing tempRing = convertSDOCurveStringToLinearRing(tempSDORing);
// convert the internal rings (holes).
CurveString[] tempSDOHoles = inPolygon.getInteriorRingArray();