예제 #1
0
        public virtual ZhFeatureBuffer CreateZhFeatureBuffer()
        {
            IFeatureBuffer  fb   = this.FeatureClass.CreateFeatureBuffer();
            ZhFeatureBuffer zhfb = new ZhFeatureBuffer(fb);

            return(zhfb);
        }
예제 #2
0
 /// <summary>
 ///  拷贝属性字段 this.Fields->tpObjectZhFeatureBuffer.Fields
 /// </summary>
 /// <param name="tpObjectZhFeatureBuffer"></param>
 public virtual void CopyField(ref ZhFeatureBuffer tpObjectZhFeatureBuffer)
 {
     //属性
     this.preGetFeatureFieldNames();
     foreach (string fdName in this.FieldNames)
     {
         if (fdName != "OBJECTID" && fdName != "FID" && this.getFieldValue(fdName) != null)
         {
             tpObjectZhFeatureBuffer.setFieldValue(fdName, this.getFieldValue(fdName));
         }
     }
 }
예제 #3
0
 public virtual void InsertZhFeatureBuffer(IFeatureCursor FeatureCursorInsert, ZhFeatureBuffer ZhfeatBuf)
 {
     FeatureCursorInsert.InsertFeature(ZhfeatBuf.pFeatureBuffer);
 }