Пример #1
0
        /// <summary>
        /// Creates a new FloorPlan object in m_Status, then uses that to create a new PathFinder object
        /// </summary>
        /// <param name="FloorPlanImage">an image of the floorplan</param>
        /// <param name="ppf">the scale of the image, in pixels per foot</param>
        public void CreateStatus(FloorPlan fp)
        {
            m_status = new Status(fp);

            m_pathfinder = new QGPathFinder(m_status.FloorPlan);
        }
Пример #2
0
        //************************************************************************************************
        //       Public Methods
        //************************************************************************************************
        /// <summary>
        /// Creates a new FloorPlan object in m_Status, then uses that to create a new PathFinder object
        /// </summary>
        /// <param name="FloorPlanImage">an image of the floorplan</param>
        /// <param name="ppf">the scale of the image, in pixels per foot</param>
        public void CreateStatus(Image FloorPlanImage, double ppf)
        {
            m_pixelsperfoot = ppf;
            m_status = new Status(FloorPlanImage, m_pixelsperfoot);

            m_pathfinder = new QGPathFinder(m_status.FloorPlan);
        }