/// <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>
        /// 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;
 }
示例#4
0
 /// <summary>
 /// Default constructor
 /// </summary>
 public CIMPointGraphicHelper(PointN point)
 {
     _cimHelper = new CIMHelpers();
     _graphic   = _cimHelper.MakeCIMPointGraphic(point);
     graphicID  = -1;
 }