Example #1
0
        private void FindEdgeAreas(Options options)
        {
            var arguments = DeserializeArguments <EdgeAreaArguments>(options.ConfigurationFilepath);
            var locator   = new EdgeLocator(arguments.OutputDirectory, arguments.OutputFilename);

            locator.StoreEdges(arguments.Resolution.ToSize(), arguments.GridSize, AreaFactory.SearchArea);
        }
 protected override IEnumerable <Area> GetAreasToInclude(Size resolution, Area viewPort)
 {
     return(EdgeLocator.LocateEdges(resolution, GridSize, viewPort));
 }