示例#1
0
        private void method_2(ICoFeature icoFeature_0, IGeometry igeometry_0)
        {
            ICoPointFeature feature = icoFeature_0 as ICoPointFeature;
            IPoint          point   = igeometry_0 as IPoint;

            if ((feature != null) && (point != null))
            {
                feature.Point.Add(new CoPointClass(point.X, point.Y, point.Z));
            }
        }
示例#2
0
        private void method_4(ICoFeature icoFeature_0, IFeature ifeature_0)
        {
            ICoPointFeature feature = icoFeature_0 as ICoPointFeature;
            IPoint          shape   = ifeature_0.Shape as IPoint;

            if ((feature != null) && (shape != null))
            {
                feature.Point.Add(new CoPointClass(shape.X, shape.Y, shape.Z));
            }
        }