scipy.spatial.
Rectangle#
- class scipy.spatial.Rectangle(maxes, mins)[source]#
超矩形類別。
表示區間的笛卡爾積。
方法
max_distance_point
(x[, p])傳回輸入點與超矩形中點的最大距離。
max_distance_rectangle
(other[, p])計算兩個超矩形中點的最大距離。
min_distance_point
(x[, p])傳回輸入點與超矩形中點的最小距離。
min_distance_rectangle
(other[, p])計算兩個超矩形中點的最小距離。
split
(d, split)透過分割產生兩個超矩形。
體積
()總體積。