fix custom poly transform
This commit is contained in:
parent
bc4184693d
commit
7455917b4a
3 changed files with 4 additions and 2 deletions
|
|
@ -34,7 +34,8 @@ def main() -> None:
|
|||
|
||||
# 4. Define a custom 'trapezoid' bend model
|
||||
# (Just for demonstration - we override the collision model during search)
|
||||
custom_poly = Polygon([(0, 0), (20, 0), (20, 20), (0, 20)]) # Oversized box
|
||||
# Define a custom centered 20x20 box
|
||||
custom_poly = Polygon([(-10, -10), (10, -10), (10, 10), (-10, 10)])
|
||||
|
||||
print("Routing with custom collision model...")
|
||||
# Override bend_collision_type with a literal Polygon
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue