private void Init()
 {
     cps        = new ClosestPointsStrategy();
     calculator = new AverageClosestDistanceLocationCalculator(cps);
     result     = new LocationResult(new Point(-1, -1), Precision.NoTag);
     simPoint   = new SimPointDisplay(new Point(-1, -1), backgr);
 }
Exemple #2
0
 public AverageClosestDistanceLocationCalculator(CommonPointStrategy CommonPointStrategy)
     : base(CommonPointStrategy)
 {
 }
 public ClosestDistanceLocationCalculator(CommonPointStrategy CommonPointStrategy)
 {
     commonPointStrategy = CommonPointStrategy;
 }