예제 #1
0
 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();
     }
 }
예제 #2
0
파일: Geometry.cs 프로젝트: jugstalt/gview5
        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);
        }