/// <summary>
        /// Convert the location to a CIM Point
        /// </summary>
        /// <returns></returns>
        public PointN ToPointN()
        {
            if (_point == null)
            {
                CIMHelpers cimHelper = new CIMHelpers();

                _point = cimHelper.MakePointN(Feature.Location.X,
                                              Feature.Location.Y,
                                              WKID);
            }
            return(_point);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Convert the location to a CIM Point
        /// </summary>
        /// <returns></returns>
        public PointN ToPointN() {
            if (_point == null) {

                CIMHelpers cimHelper = new CIMHelpers();

                _point = cimHelper.MakePointN(Feature.Location.X,
                    Feature.Location.Y,
                    WKID);
                }
            return  _point ;
        }
 /// <summary>
 /// Default constructor
 /// </summary>
 public CIMPointGraphicHelper(PointN point) {
     _cimHelper = new CIMHelpers();
     _graphic = _cimHelper.MakeCIMPointGraphic(point);
     graphicID = -1;
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Default constructor
 /// </summary>
 public CIMPointGraphicHelper(PointN point)
 {
     _cimHelper = new CIMHelpers();
     _graphic   = _cimHelper.MakeCIMPointGraphic(point);
     graphicID  = -1;
 }