cartagen.BuildingSquarenessConstraint#
- class BuildingSquarenessConstraint(agent, importance, angle_tolerance=15.0)#
Agent constraint to handle building squareness.
This constraint asks for the building squaring if its angles are not exactly square.
- Parameters:
agent (
BuildingAgent) – The building agent object to apply the constraint to.importance (
int) – The Importance of the constraint.angle_tolerance (
float, optional) – The angle tolerance in degree to consider an angle right or flat.
See also
run_agentsExecute the AGENT process.
BuildingGranularityConstraintAgent constraint to handle building granularity.
BuildingSizeConstraintAgent constraint to handle building size.