예제 #1
0
        ////////////////////////////////////////////////////////////////////////////
        //--------------------------------- REVISIONS ------------------------------
        // Date       Name                 Tracking #         Description
        // ---------  -------------------  -------------      ----------------------
        // 18JUN2009  James Shen                              Initial Creation
        ////////////////////////////////////////////////////////////////////////////

        /**
         * Copy constructor.
         * @param pline     map object copy from.
         */
        public MapPline(MapPline pline)
            : base(pline)
        {
            SetMapObjectType(PLINE);
            PenStyle = new MapPen(pline.PenStyle);
            Pline    = new GeoPolyline(pline.Pline);
        }
예제 #2
0
 ////////////////////////////////////////////////////////////////////////////
 //--------------------------------- REVISIONS ------------------------------
 // Date       Name                 Tracking #         Description
 // ---------  -------------------  -------------      ----------------------
 // 18JUN2009  James Shen                 	          Initial Creation
 ////////////////////////////////////////////////////////////////////////////
 /**
  * Copy constructor.
  * @param pline     map object copy from.
  */
 public MapPline(MapPline pline)
     : base(pline)
 {
     SetMapObjectType(PLINE);
     PenStyle = new MapPen(pline.PenStyle);
     Pline = new GeoPolyline(pline.Pline);
 }
예제 #3
0
        ////////////////////////////////////////////////////////////////////////////
        //--------------------------------- REVISIONS ------------------------------
        // Date       Name                 Tracking #         Description
        // ---------  -------------------  -------------      ----------------------
        // 18JUN2009  James Shen                              Initial Creation
        ////////////////////////////////////////////////////////////////////////////

        /**
         * default constructor.
         */
        public MapRegion()
        {
            SetMapObjectType(REGION);
            PenStyle   = new MapPen();
            BrushStyle = new MapBrush();
            CenterPt   = new GeoLatLng();
            Region     = null;
        }
예제 #4
0
 ////////////////////////////////////////////////////////////////////////////
 //--------------------------------- REVISIONS ------------------------------
 // Date       Name                 Tracking #         Description
 // ---------  -------------------  -------------      ----------------------
 // 18JUN2009  James Shen                 	          Initial Creation
 ////////////////////////////////////////////////////////////////////////////
 /**
  * Copy constructor.
  * @param region     map object copy from.
  */
 public MapRegion(MapRegion region)
     : base(region)
 {
     SetMapObjectType(REGION);
     PenStyle = new MapPen(region.PenStyle);
     BrushStyle = new MapBrush(region.BrushStyle);
     Region = new GeoPolygon(region.Region);
     CenterPt = new GeoLatLng(region.CenterPt);
 }
예제 #5
0
        ////////////////////////////////////////////////////////////////////////////
        //--------------------------------- REVISIONS ------------------------------
        // Date       Name                 Tracking #         Description
        // ---------  -------------------  -------------      ----------------------
        // 18JUN2009  James Shen                              Initial Creation
        ////////////////////////////////////////////////////////////////////////////

        /**
         * Copy constructor.
         * @param region     map object copy from.
         */
        public MapRegion(MapRegion region)
            : base(region)
        {
            SetMapObjectType(REGION);
            PenStyle   = new MapPen(region.PenStyle);
            BrushStyle = new MapBrush(region.BrushStyle);
            Region     = new GeoPolygon(region.Region);
            CenterPt   = new GeoLatLng(region.CenterPt);
        }
예제 #6
0
        ////////////////////////////////////////////////////////////////////////////
        //--------------------------------- REVISIONS ------------------------------
        // Date       Name                 Tracking #         Description
        // ---------  -------------------  -------------      ----------------------
        // 18JUN2009  James Shen                              Initial Creation
        ////////////////////////////////////////////////////////////////////////////

        /**
         * Copy constructor.
         * @param multiPline     map object copy from.
         */
        public MapMultiPline(MapMultiPline multiPline)
            : base(multiPline)
        {
            SetMapObjectType(MULTIPLINE);
            PenStyle = new MapPen(multiPline.PenStyle);
            Plines   = new GeoPolyline[multiPline.Plines.Length];
            for (int i = 0; i < Plines.Length; i++)
            {
                Plines[i] = new GeoPolyline(multiPline.Plines[i]);
            }
        }
예제 #7
0
 ////////////////////////////////////////////////////////////////////////////
 //--------------------------------- REVISIONS ------------------------------
 // Date       Name                 Tracking #         Description
 // ---------  -------------------  -------------      ----------------------
 // 18JUN2009  James Shen                 	          Initial Creation
 ////////////////////////////////////////////////////////////////////////////
 /**
  * Copy constructor.
  * @param multiPline     map object copy from.
  */
 public MapMultiPline(MapMultiPline multiPline)
     : base(multiPline)
 {
     SetMapObjectType(MULTIPLINE);
     PenStyle = new MapPen(multiPline.PenStyle);
     Plines = new GeoPolyline[multiPline.Plines.Length];
     for (int i = 0; i < Plines.Length; i++)
     {
         Plines[i] = new GeoPolyline(multiPline.Plines[i]);
     }
 }
예제 #8
0
 ////////////////////////////////////////////////////////////////////////////
 //--------------------------------- REVISIONS ------------------------------
 // Date       Name                 Tracking #         Description
 // ---------  -------------------  -------------      ----------------------
 // 18JUN2009  James Shen                 	          Initial Creation
 ////////////////////////////////////////////////////////////////////////////
 /**
  * Copy constructor.
  * @param multiRegion     map object copy from.
  */
 public MapMultiRegion(MapMultiRegion multiRegion)
     : base(multiRegion)
 {
     SetMapObjectType(MULTIREGION);
     PenStyle = new MapPen(multiRegion.PenStyle);
     BrushStyle = new MapBrush(multiRegion.BrushStyle);
     Regions = new GeoPolygon[multiRegion.Regions.Length];
     for (int i = 0; i < Regions.Length; i++)
     {
         Regions[i] = new GeoPolygon(multiRegion.Regions[i]);
     }
     CenterPt = new GeoLatLng(multiRegion.CenterPt);
 }
예제 #9
0
        ////////////////////////////////////////////////////////////////////////////
        //--------------------------------- REVISIONS ------------------------------
        // Date       Name                 Tracking #         Description
        // ---------  -------------------  -------------      ----------------------
        // 18JUN2009  James Shen                              Initial Creation
        ////////////////////////////////////////////////////////////////////////////

        /**
         * Copy constructor.
         * @param multiRegion     map object copy from.
         */
        public MapMultiRegion(MapMultiRegion multiRegion)
            : base(multiRegion)
        {
            SetMapObjectType(MULTIREGION);
            PenStyle   = new MapPen(multiRegion.PenStyle);
            BrushStyle = new MapBrush(multiRegion.BrushStyle);
            Regions    = new GeoPolygon[multiRegion.Regions.Length];
            for (int i = 0; i < Regions.Length; i++)
            {
                Regions[i] = new GeoPolygon(multiRegion.Regions[i]);
            }
            CenterPt = new GeoLatLng(multiRegion.CenterPt);
        }
예제 #10
0
 ////////////////////////////////////////////////////////////////////////////
 //--------------------------------- REVISIONS ------------------------------
 // Date       Name                 Tracking #         Description
 // ---------  -------------------  -------------      ----------------------
 // 18JUN2009  James Shen                 	          Initial Creation
 ////////////////////////////////////////////////////////////////////////////
 /**
  * default constructor.
  */
 public MapRegion()
 {
     SetMapObjectType(REGION);
     PenStyle = new MapPen();
     BrushStyle = new MapBrush();
     CenterPt = new GeoLatLng();
     Region = null;
 }
예제 #11
0
 ////////////////////////////////////////////////////////////////////////////
 //--------------------------------- REVISIONS ------------------------------
 // Date       Name                 Tracking #         Description
 // ---------  -------------------  -------------      ----------------------
 // 18JUN2009  James Shen                 	          Initial Creation
 ////////////////////////////////////////////////////////////////////////////
 /**
  * Set the pen type of the map point.
  * @param mapPen the pen type
  */
 public void SetPenType(MapPen mapPen)
 {
     PenStyle = mapPen;
 }
예제 #12
0
        ////////////////////////////////////////////////////////////////////////////
        //--------------------------------- REVISIONS ------------------------------
        // Date       Name                 Tracking #         Description
        // ---------  -------------------  -------------      ----------------------
        // 18JUN2009  James Shen                              Initial Creation
        ////////////////////////////////////////////////////////////////////////////

        /**
         * Set the pen type of the map point.
         * @param mapPen the pen type
         */
        public void SetPenType(MapPen mapPen)
        {
            PenStyle = mapPen;
        }
예제 #13
0
        ////////////////////////////////////////////////////////////////////////////
        //--------------------------------- REVISIONS ------------------------------
        // Date       Name                 Tracking #         Description
        // ---------  -------------------  -------------      ----------------------
        // 18JUN2009  James Shen                              Initial Creation
        ////////////////////////////////////////////////////////////////////////////

        /**
         * default constructor.
         */
        public MapMultiPline()
        {
            SetMapObjectType(MULTIPLINE);
            PenStyle = new MapPen();
            Plines   = null;
        }
예제 #14
0
        ////////////////////////////////////////////////////////////////////////////
        //--------------------------------- REVISIONS ------------------------------
        // Date       Name                 Tracking #         Description
        // ---------  -------------------  -------------      ----------------------
        // 18JUN2009  James Shen                              Initial Creation
        ////////////////////////////////////////////////////////////////////////////

        /**
         * default constructor.
         */
        public MapPline()
        {
            SetMapObjectType(PLINE);
            PenStyle = new MapPen();
            Pline    = null;
        }
예제 #15
0
 ////////////////////////////////////////////////////////////////////////////
 //--------------------------------- REVISIONS ------------------------------
 // Date       Name                 Tracking #         Description
 // ---------  -------------------  -------------      ----------------------
 // 18JUN2009  James Shen                 	          Initial Creation
 ////////////////////////////////////////////////////////////////////////////
 /**
  * default constructor.
  */
 public MapPline()
 {
     SetMapObjectType(PLINE);
     PenStyle = new MapPen();
     Pline = null;
 }
예제 #16
0
 ////////////////////////////////////////////////////////////////////////////
 //--------------------------------- REVISIONS ------------------------------
 // Date       Name                 Tracking #         Description
 // ---------  -------------------  -------------      ----------------------
 // 18JUN2009  James Shen                 	          Initial Creation
 ////////////////////////////////////////////////////////////////////////////
 /**
  * default constructor.
  */
 public MapMultiPline()
 {
     SetMapObjectType(MULTIPLINE);
     PenStyle = new MapPen();
     Plines = null;
 }