public void Clear() { GPoints = new List <GraphPoint>(); GConnections = new List <Connection>(); MapGraph = new UndirectedGraph <GraphPoint, Connection>(); Interpolator = new IdwInterpolator(DIMENSIONS); NewInterpGraph = false; }
public void GraphPointsToIntPoints() { Interpolator = new CSharpIDW.IdwInterpolator(2); for (int i = 0; i < GPoints.Count; i++) { GraphPoint gp = GPoints[i]; CSharpIDW.Point NewPoint = new CSharpIDW.Point(gp.Diff, gp.XCoord, gp.ZCoord); Interpolator.AddPoint(NewPoint); } }