Exemple #1
0
 public CMoveablePointForLineSegment(CMapDatabase database, CGPSLine line, CGPSLineSegment segment)
     : base(database, segment.PointDestination)
 {
     m_segment = segment;
     m_line    = line;
     m_listeItems.AddRange(line.FindMapItems(database));
 }
        public CMoveablePointForLineStart(CMapDatabase database, CGPSLine line)
            : base(database, line.DetailLigne.PointDepart)
        {
            m_line = line;
            IEnumerable <IMapItem> items = line.FindMapItems(database);

            if (items.Count() > 0)
            {
                m_mapItem = items.ElementAt(0);
            }
        }