CoordinateBoundingBox[coords]
给出由 coords 定义的区域的边界框的角落坐标 {{xmin,ymin,…},{xmax,ymax,…}}.
CoordinateBoundingBox[coords,δ]
把区域朝每个方向都外扩 δ .
CoordinateBoundingBox[coords,Scaled[s]]
在每个方向都外扩缩放量 s.
CoordinateBoundingBox[coords,{p1,p2,…}]
在各个维度分别外扩 p1, p2, ….
CoordinateBoundingBox[coords,{{p1min,p1max},{p2min,p2max},…}]
给出 {{xmin-p1min,ymin-p2min,…},{xmax+p1max,ymax+p2max,…},…}
CoordinateBoundingBox
CoordinateBoundingBox[coords]
给出由 coords 定义的区域的边界框的角落坐标 {{xmin,ymin,…},{xmax,ymax,…}}.
CoordinateBoundingBox[coords,δ]
把区域朝每个方向都外扩 δ .
CoordinateBoundingBox[coords,Scaled[s]]
在每个方向都外扩缩放量 s.
CoordinateBoundingBox[coords,{p1,p2,…}]
在各个维度分别外扩 p1, p2, ….
CoordinateBoundingBox[coords,{{p1min,p1max},{p2min,p2max},…}]
给出 {{xmin-p1min,ymin-p2min,…},{xmax+p1max,ymax+p2max,…},…}
更多信息
- CoordinateBoundingBox 会产生一个确定的结果,若所有的坐标都是实数.
- 其它情况下,CoordinateBoundingBox 会进行一些简化.
范例
打开所有单元 关闭所有单元基本范例 (1)
CoordinateBoundingBox[{{0, 1}, {1, 2}, {2, 1}, {3, 2}, {4, 0}}]CoordinateBoundingBox[{{0, 1}, {1, 2}, {2, 1}, {3, 2}, {4, 0}}, 1]CoordinateBoundingBox[{{0, 1}, {1, 2}, {2, 1}, {3, 2}, {4, 0}}, Scaled[1 / 4]]范围 (4)
CirclePoints[5]CoordinateBoundingBox[%]CoordinateBoundingBox[{{1, 2}, {{{{{5, 6}}}}, {9, 10}}}]pts = {{3, -3}, {3, 3}, {-3, 3}, {-3, -3}};CoordinateBoundingBox[pts, 1]CoordinateBoundingBox[pts, {1, 2}]CoordinateBoundingBox[pts, {{1, 2}, {3, 4}}]coords = coords = {{{0.0736388, 2.2431, -0.34123}, {-1.1412, 0.75341, 5.34125}}, {π, E, Sqrt[2]}, {Exp[2], Log[10000], Csc[(1/10)]}, {{{2, 1, 7}, {-9, -5, 7}}, {{-2, 9, 5}, {8, -9, 9}}}};CoordinateBoundingBox[coords]CoordinateBoundingBox[coords, 1]CoordinateBoundingBox[coords, Scaled[.1]]CoordinateBoundingBox[coords, {.1, Scaled[.2], .3}]CoordinateBoundingBox[coords, {0, 1}]CoordinateBoundingBox[coords, {{0, 1}, {1.5, 0.5}, {1 / 2, 1 / 3}}]推广和延伸 (1)
属性和关系 (3)
一般来说,CoordinateBoundingBox[coords] 是 CoordinateBounds[coords] 的转置:
coords = RandomReal[1, {10, 5}];CoordinateBoundingBox[coords]Transpose[CoordinateBounds[coords]]对矩阵中的坐标,CoordinateBoundingBox[coords] 等价于 Transpose[Map[MinMax,Transpose[coords]]]:
coords = RandomInteger[7, {12, 2}];CoordinateBoundingBox[coords]Transpose[Map[MinMax, Transpose[coords]]]gps = RandomGeoPosition[Entity["Country", "France"], 500]CoordinateBoundingBox[LatitudeLongitude[gps]]同样的角点可以通过 GeoBoundingBox 获取,用 GeoPosition 对象表示:
GeoBoundingBox[gps]GeoGraphics[{GeoBoundsRegion[%], Orange, Point[gps], PointSize[Large], GeoMarker[%]}, GeoRangePadding -> Quantity[100, "Miles"]]相关指南
-
▪
- 正则和坐标数组 ▪
- 列表中的数学和统计运算
文本
Wolfram Research (2015),CoordinateBoundingBox,Wolfram 语言函数,https://reference.wolfram.com/language/ref/CoordinateBoundingBox.html.
CMS
Wolfram 语言. 2015. "CoordinateBoundingBox." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/CoordinateBoundingBox.html.
APA
Wolfram 语言. (2015). CoordinateBoundingBox. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/CoordinateBoundingBox.html 年
BibTeX
@misc{reference.wolfram_2026_coordinateboundingbox, author="Wolfram Research", title="{CoordinateBoundingBox}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/CoordinateBoundingBox.html}", note=[Accessed: 18-August-2026]}
BibLaTeX
@online{reference.wolfram_2026_coordinateboundingbox, organization={Wolfram Research}, title={CoordinateBoundingBox}, year={2015}, url={https://reference.wolfram.com/language/ref/CoordinateBoundingBox.html}, note=[Accessed: 18-August-2026]}