stp.formations
¶
Submodules¶
Package Contents¶
Classes¶
Helper class that provides a standard way to create an ABC using |
- class stp.formations.Formations(world_state: stp.rc.WorldState)¶
Bases:
abc.ABC
Helper class that provides a standard way to create an ABC using inheritance.
- abstract property get_centroids: List¶
Get the centroid associated with the called region
- abstract property get_regions: List¶
Get all of the region bounds of the formation. Each region is in order of left to right from top to bottom. Within each region the bounds are order as follows:
x min, x max, y min, y max,