Add perpendicular

This commit is contained in:
2024-06-11 19:34:28 +02:00
parent f98af90b3e
commit dfc277ddf2
5 changed files with 31 additions and 46 deletions

View File

@@ -183,7 +183,7 @@ class Point2D:
return self
@staticmethod
def to_vectors(points: List["Point3D"]):
def to_vectors(points: List["Point3D"]) -> List[np.array]:
vectors = []
for point in points:
vectors.append(np.array(point.coordinate))