@@ -8,18 +8,18 @@ def _boolean(A, B, operation):
88
99 Parameters
1010 ----------
11- A : tuple[sequence [[float, float, float] | :class:`compas.geometry.Point`], sequence [[int, int, int]]]
11+ A : tuple[Sequence [[float, float, float] | :class:`compas.geometry.Point`], Sequence [[int, int, int]]]
1212 Mesh A.
13- B : tuple[sequence [[float, float, float] | :class:`compas.geometry.Point`], sequence [[int, int, int]]]
13+ B : tuple[Sequence [[float, float, float] | :class:`compas.geometry.Point`], Sequence [[int, int, int]]]
1414 Mesh B.
1515 operation : Literal['union', 'difference', 'intersection']
1616 The type of boolean operation.
1717
1818 Returns
1919 -------
20- (V , 3) np.array[float ]
20+ NDArray[(Any , 3) np.float64 ]
2121 The vertices of the boolean mesh.
22- (F , 3) np.array[int ]
22+ NDArray[(Any , 3) np.int32 ]
2323 The faces of the boolean mesh.
2424
2525 Raises
@@ -53,18 +53,18 @@ def boolean_union(A, B):
5353
5454 Parameters
5555 ----------
56- A : tuple[sequence [[float, float, float] | :class:`compas.geometry.Point`], sequence [[int, int, int]]]
56+ A : tuple[Sequence [[float, float, float] | :class:`compas.geometry.Point`], Sequence [[int, int, int]]]
5757 Mesh A.
58- B : tuple[sequence [[float, float, float] | :class:`compas.geometry.Point`], sequence [[int, int, int]]]
58+ B : tuple[Sequence [[float, float, float] | :class:`compas.geometry.Point`], Sequence [[int, int, int]]]
5959 Mesh B.
6060 operation : Literal['union', 'difference', 'intersection']
6161 The type of boolean operation.
6262
6363 Returns
6464 -------
65- (V , 3) np.array[float ]
65+ NDArray[(Any , 3) np.float64 ]
6666 The vertices of the boolean mesh.
67- (F , 3) np.array[int ]
67+ NDArray[(Any , 3) np.int32 ]
6868 The faces of the boolean mesh.
6969
7070 """
@@ -77,18 +77,18 @@ def boolean_difference(A, B):
7777
7878 Parameters
7979 ----------
80- A : tuple[sequence [[float, float, float] | :class:`compas.geometry.Point`], sequence [[int, int, int]]]
80+ A : tuple[Sequence [[float, float, float] | :class:`compas.geometry.Point`], Sequence [[int, int, int]]]
8181 Mesh A.
82- B : tuple[sequence [[float, float, float] | :class:`compas.geometry.Point`], sequence [[int, int, int]]]
82+ B : tuple[Sequence [[float, float, float] | :class:`compas.geometry.Point`], Sequence [[int, int, int]]]
8383 Mesh B.
8484 operation : Literal['union', 'difference', 'intersection']
8585 The type of boolean operation.
8686
8787 Returns
8888 -------
89- (V , 3) np.array[float ]
89+ NDArray[(Any , 3) np.float64 ]
9090 The vertices of the boolean mesh.
91- (F , 3) np.array[int ]
91+ NDArray[(Any , 3) np.int32 ]
9292 The faces of the boolean mesh.
9393
9494 """
@@ -101,18 +101,18 @@ def boolean_intersection(A, B):
101101
102102 Parameters
103103 ----------
104- A : tuple[sequence [[float, float, float] | :class:`compas.geometry.Point`], sequence [[int, int, int]]]
104+ A : tuple[Sequence [[float, float, float] | :class:`compas.geometry.Point`], Sequence [[int, int, int]]]
105105 Mesh A.
106- B : tuple[sequence [[float, float, float] | :class:`compas.geometry.Point`], sequence [[int, int, int]]]
106+ B : tuple[Sequence [[float, float, float] | :class:`compas.geometry.Point`], Sequence [[int, int, int]]]
107107 Mesh B.
108108 operation : Literal['union', 'difference', 'intersection']
109109 The type of boolean operation.
110110
111111 Returns
112112 -------
113- (V , 3) np.array[float ]
113+ NDArray[(Any , 3) np.float64 ]
114114 The vertices of the boolean mesh.
115- (F , 3) np.array[int ]
115+ NDArray[(Any , 3) np.int32 ]
116116 The faces of the boolean mesh.
117117
118118 """
0 commit comments