//--------------------------------------------------------------------- /// <summary> /// Sets a working area and a precision in order to use it during the /// whole mission. When requesting a point outside this area, all /// features will return always null. /// </summary> /// <param name="bottomLeft"> /// A <see cref="Point"/> as the bottom left corner of the working /// area. /// </param> /// <param name="topRight"></para> /// A <see cref="Point"/> as the bottom left corner of the working /// area. /// </param> /// <param name="precision"> /// A <see cref="Dem.Precision"/> as the selected DEM precision. /// </param> public Features(Point bottomLeft, Point topRight, Dem.Precision precision) { this.precision = precision; this.demList = new DemList(bottomLeft, topRight, precision); this.isWorkingAreaSet = true; this.SetWorkingArea(bottomLeft, topRight, precision); }
//--------------------------------------------------------------------- /// <summary> /// Default constructor. /// </summary> //--------------------------------------------------------------------- public Features() { this.demList = new DemList(); this.isWorkingAreaSet = false; }