public GeomTransformer(OSGeo_v3.OSR.CoordinateTransformation ct, string[] options) : this(OgrPINVOKE.new_GeomTransformer(OSGeo_v3.OSR.CoordinateTransformation.getCPtr(ct), (options != null)? new OgrPINVOKE.StringListMarshal(options)._ar : null), true, null) { if (OgrPINVOKE.SWIGPendingException.Pending) { throw OgrPINVOKE.SWIGPendingException.Retrieve(); } }
public int Transform(OSGeo_v3.OSR.CoordinateTransformation trans) { int ret = OgrPINVOKE.Geometry_Transform__SWIG_0(swigCPtr, OSGeo_v3.OSR.CoordinateTransformation.getCPtr(trans)); if (OgrPINVOKE.SWIGPendingException.Pending) { throw OgrPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }