Move to_vectors to Points

This commit is contained in:
2024-06-11 18:59:14 +02:00
parent 229c43c308
commit f98af90b3e
6 changed files with 29 additions and 58 deletions

View File

@@ -266,5 +266,4 @@ block_list = ["blue_concrete", "red_concrete", "green_concrete",
# # polyline._alpha_assign(1, polyline.length_polyline-1)
# print(polyline.alpha_radii)
print(
Point2D(-10, -10).sort_by_rotation([Point2D(10, 10), Point2D(-10, 10), Point2D(10, -10)], rotation=ROTATION.CLOCKWISE))
print(Polyline((Point2D(0, 0), Point2D(0, 10), Point2D(50, 10), Point2D(20, 20))))