//End the strip public void StopContourLine() { CContourPt point = new CContourPt(mf.pn.easting, mf.fixHeading, mf.pn.northing, mf.pn.altitude, mf.pn.latitude, mf.pn.longitude); ptList.Add(point); //turn it off isContourOn = false; }
//start stop and add points to list public void StartContourLine() { isContourOn = true; //reuse ptList ptList.Clear(); CContourPt point = new CContourPt(mf.pn.easting, mf.fixHeading, mf.pn.northing, mf.pn.altitude, mf.pn.latitude, mf.pn.longitude); ptList.Add(point); }
//Add current position to ptList public void AddPoint() { CContourPt point = new CContourPt(mf.pn.easting, mf.fixHeading, mf.pn.northing, mf.pn.altitude, mf.pn.latitude, mf.pn.longitude); ptList.Add(point); }