generate_stair_2d_profile - add typing

This commit is contained in:
Andrej730
2025-11-06 17:49:12 +05:00
parent c9df87fc25
commit b5e8dfd863
3 changed files with 59 additions and 32 deletions
@@ -405,7 +405,8 @@ class ShapeBuilder:
ifc_curve = self.file.createIfcIndexedPolyCurve(Points=ifc_points, Segments=ifc_segments)
return ifc_curve
def get_rectangle_coords(self, size: VectorType = (1.0, 1.0), position: Optional[VectorType] = None) -> np.ndarray:
@staticmethod
def get_rectangle_coords(size: VectorType = (1.0, 1.0), position: Optional[VectorType] = None) -> np.ndarray:
"""
Get rectangle coords arranged as below: