MapAnalyzer.Polygon¶
Module Contents¶
Classes¶
  | 
Represents the Buildable Points in a   | 
  | 
Base Class for Representing an “Area”  | 
- 
class 
MapAnalyzer.Polygon.Buildables(polygon)[source]¶ Represents the Buildable Points in a
Polygon,“Lazy” class that will only update information when it is needed
- 
class 
MapAnalyzer.Polygon.Polygon(map_data: MapData, array: ndarray)[source]¶ Base Class for Representing an “Area”
- 
property 
buildables(self)[source]¶ - Return type
 BuildablePoints
Is a responsible for holding and updating the buildable points of it’s respected
Polygon
- 
property 
regions(self)[source]¶ - Return type
 List[
Region]
Filters out every Polygon that is not a region, and is inside / bordering with
self
- 
property 
center(self)[source]¶ Since the center is always going to be a
float,and for performance considerations we use integer coordinates.
We will return the closest point registered
- 
property 
 
Indices and tables