Beispiel #1
0
 public Feature(FeatureDefn feature_def) : this(OgrPINVOKE.new_Feature(FeatureDefn.getCPtr(feature_def)), true, null)
 {
     if (OgrPINVOKE.SWIGPendingException.Pending)
     {
         throw OgrPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #2
0
        public int IsSame(FeatureDefn other_defn)
        {
            int ret = OgrPINVOKE.FeatureDefn_IsSame(swigCPtr, FeatureDefn.getCPtr(other_defn));

            if (OgrPINVOKE.SWIGPendingException.Pending)
            {
                throw OgrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }