MapAnalyzer.Region

Module Contents

Classes

Region(map_data: MapData, array: np.ndarray, label: int, map_expansions: List[Point2])

Higher order “Area” , all of the maps can be summed up by it’s Region

class MapAnalyzer.Region.Region(map_data: MapData, array: np.ndarray, label: int, map_expansions: List[Point2])[source]

Bases: MapAnalyzer.Polygon.Polygon

Higher order “Area” , all of the maps can be summed up by it’s Region

Tip

A Region may contain other Polygon inside it,

Such as ChokeArea and MDRamp.

But it will never share a point with another Region

property region_ramps(self)[source]

Property access to MDRamp of this region

property region_chokes(self)[source]

Property access to ChokeArea of this region

property connected_regions(self)[source]

Provides a list of Region that are connected by chokes to self

plot_perimeter(self, self_only: bool = True)[source]

Debug Method plot_perimeter

plot(self, self_only: bool = True, testing: bool = False)[source]

Debug Method plot

property base_locations(self)[source]

base_locations inside self

Indices and tables