Ejemplo n.º 1
0
 public void Clear()
 {
     GPoints        = new List <GraphPoint>();
     GConnections   = new List <Connection>();
     MapGraph       = new UndirectedGraph <GraphPoint, Connection>();
     Interpolator   = new IdwInterpolator(DIMENSIONS);
     NewInterpGraph = false;
 }
Ejemplo n.º 2
0
 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);
     }
 }