Circumsphere[{p1,…,pn+1}]
给出
中的点 pi 的外接球.
Circumsphere[poly]
给出多面体或多边形 poly 的外接球.
Circumsphere
Circumsphere[{p1,…,pn+1}]
给出
中的点 pi 的外接球.
Circumsphere[poly]
给出多面体或多边形 poly 的外接球.
更多信息
- Circumsphere 也被称为外接圆、外接的圆或外接圆盘.
- Circumsphere 给出通过点 pi 的最小尺度(弧长、面积等)的 Sphere.
- Circumsphere 运算为 Sphere[c,r],其中圆心 c 也被称为外心,半径 r 也被称为 Simplex[{p1,…,pn+1}] 的外接圆半径.
- Circumsphere 对于
有定义,且仿射无关. - 对于多面体,Circumsphere[poly] 等价于 Circumsphere[PolyhedronCoordinates[poly]].
- 对于多边形,Circumsphere[poly] 等价于 Circumsphere[PolygonCoordinates[poly]].
- Circumsphere 可与符号点一起用在 GeometricScene 中.
范例
打开所有单元 关闭所有单元基本范例 (2)
Graphics[Circumsphere[{{0, 0}, {1, 0}, {0, 1}}]]Graphics3D[Circumsphere[{{0, 0, 0}, {1, 0, 0}, {0, 1, 0}, {0, 0, 1}}]]ℛ = Circumsphere[Octahedron[]]Graphics3D[{Opacity[0.6], Octahedron[], ℛ}]Area[ℛ]范围 (17)
图形 (6)
规范 (2)
Graphics[Circumsphere[{{0, 0}, {1, 0}, {0, 1}}]]Graphics3D[Circumsphere[{{0, 0, 0}, {1, 0, 0}, {0, 1, 0}, {0, 0, 1}}]]Circumsphere 计算为 Sphere:
Circumsphere[{{0, 0, 0}, {1, 0, 0}, {0, 1, 0}, {0, 0, 1}}]{First@%, Last@%}样式化 (4)
ℛ = Circumsphere[{{0, 0, 0}, {1, 0, 0}, {0, 1, 0}, {0, 0, 1}}];Table[Graphics3D[{c, ℛ}], {c, {Red, Green, Blue, Yellow}}]可以使用 FaceForm 指定面前方和后方的不同属性:
ℛ = Circumsphere[{{-1, 0, 0}, {1, 0, 0}, {0, 1, 0}, {0, 0, 1}}];Graphics3D[{FaceForm[Yellow, Blue], ℛ}, PlotRange -> {{-0.8, 0.8}, {-0.8, 0.8}, {-0.8, 0.8}}]ℛ = Circumsphere[{{-1, 0, 0}, {1, 0, 0}, {0, 1, 0}, {0, 0, 1}}];Table[Graphics3D[{Orange, Specularity[White, n], ℛ}], {n, {5, 20, 100}}]Graphics3D[{Glow[Red], Black, ℛ}]Opacity 指定面的不透明度:
ℛ = Circumsphere[{{-1, 0, 0}, {1, 0, 0}, {0, 1, 0}, {0, 0, 1}}];Table[Graphics3D[{Opacity[o], ℛ}], {o, {0.3, 0.5, 0.9}}]区域 (11)
Circumsphere 适用于任意维数:
Circumsphere[{{0, 0, 0, 0, 0}, {1, 0, 0, 0, 0}, {0, 1, 0, 0, 0}, {0, 0, 1, 0, 0}, {0, 0, 0, 1, 0}, {0, 0, 0, 0, 1}}]{First[%], Last[%]}ℛ = Circumsphere[{{0, 0}, {1, 0}, {1, 1}}];RegionEmbeddingDimension[ℛ]RegionDimension[ℛ]ℛ = Circumsphere[{{1, 0, 0}, {0, 1, 0}, {0, 0, 1}, {-1, 0, 0}}];{RegionMember[ℛ, {1, 0, 0}], RegionMember[ℛ, {1, 2, 3}]}RegionMember[ℛ, {x, y, z}]ℛ = Circumsphere[{{1, 0, 0}, {0, 1, 0}, {0, 0, 1}, {-1, 0, 0}}];{Area[ℛ], RegionMeasure[ℛ]}c = RegionCentroid[ℛ]Graphics3D[{{Opacity[0.5], LightBlue, ℛ}, {PointSize[Large], Red, Point[c]}}]ℛ = Circumsphere[{{1, 0}, {0, 1}, {-1, 0}}];RegionDistance[ℛ, {1, 2}]{Plot3D[RegionDistance[ℛ, {x, y}], {x, -2, 2}, {y, -2, 2}, MeshFunctions -> {#3&}, Mesh -> 5, Exclusions -> Norm[{x, y}] == 1], ContourPlot[RegionDistance[ℛ, {x, y}], {x, -2, 2}, {y, -2, 2}, Contours -> {{0.5, Red}, {1, Green}, {1.5, Blue}}]}ℛ = Circumsphere[{{1, 0}, {0, 1}, {-1, 0}}];{SignedRegionDistance[ℛ, {2, 0}], SignedRegionDistance[ℛ, {1 / 4, 1 / 3}]}Plot3D[SignedRegionDistance[ℛ, {x, y}], {x, -2, 2}, {y, -2, 2}, MeshFunctions -> {#3&}, Mesh -> 5, Exclusions -> Norm[{x, y}] == 1]ℛ = Circumsphere[{{0, 0, 0}, {1, 0, 0}, {0, 1, 0}, {0, 0, 1}}];{RegionNearest[ℛ, {2, 2, 2}], RegionNearest[ℛ, {(1/2), (1/2), (1/2)}]}spherePoints[{n_, m_}, c_, r_] :=
Flatten[Table[c + r{Cos[k 2π / n]Sin[l π / m], Sin[k 2π / n]Sin[l π / m], Cos[l π / m]}, {k, 0., n - 1}, {l, 0., m - 1}], 1];pl = spherePoints[{8, 8}, RegionCentroid[ℛ], 3 / 2];
npl = Table[RegionNearest[ℛ, p], {p, pl}];Legended[Graphics3D[{ℛ, {Thin, Gray, Line[Transpose[{pl, npl}]]}, {Red, Point[pl]}, {PointSize[Medium], Blue, Point[npl]}}, Lighting -> "Neutral", Boxed -> False], PointLegend[{Red, Blue}, {"start", "nearest"}]]ℛ = Circumsphere[{{0, 0, 0}, {1, 0, 0}, {0, 1, 0}, {0, 0, 1}}];BoundedRegionQ[ℛ]r = RegionBounds[ℛ]Graphics3D[{{EdgeForm[White], Opacity[0.2, Yellow], Cuboid@@Transpose[r]}, ℛ}, Boxed -> False]在 Circumsphere 上进行 Integrate:
ℛ = Circumsphere[{{-1, 0, 0}, {1, 0, 0}, {0, 1, 0}, {0, 0, 1}}];Integrate[1, {x, y, z}∈ℛ]Integrate[x^2y^2z^2, {x, y, z}∈ℛ]ℛ = Circumsphere[{{-1, 0, 0}, {1, 0, 0}, {0, 1, 0}, {0, 0, 1}}];Maximize[{x^2 + 2y^2 + 3z^2, {x, y, z}∈ℛ}, {x, y, z}]求解 Circumsphere 上的方程:
ℛ = Circumsphere[{{-1, 0, 0}, {1, 0, 0}, {0, 1, 0}, {0, 0, 1}}];Reduce[x^2 == y^2 == z^2 && {x, y, z}∈ℛ, {x, y, z}]//LogicalExpand应用 (7)
求 Line 和 Circumsphere 的交点:
Subscript[ℛ, 1] = Line[{{-2, -1, 1}, {2, 1, -1}}];
Subscript[ℛ, 2] = Circumsphere[{{-1, 0, 0}, {1, 0, 0}, {0, 1, 0}, {0, 0, 1}}];pts = Solve[{x, y, z}∈Subscript[ℛ, 1] && {x, y, z}∈Subscript[ℛ, 2], {x, y, z}]Graphics3D[{Subscript[ℛ, 1], {Opacity[0.35], Subscript[ℛ, 2]}, {Red, PointSize[Medium], Point[{x, y, z} /. pts]}}, PlotRange -> 1]Subscript[ℛ, 1] = Circumsphere[{{-1, 0}, {1, 0}, {0, 1}}];
Subscript[ℛ, 2] = Circumsphere[{{0, 0}, {2, 0}, {1, 1}}];pts = Solve[{x, y}∈Subscript[ℛ, 1] && {x, y}∈Subscript[ℛ, 2], {x, y}]Graphics[{Subscript[ℛ, 1], Subscript[ℛ, 2], {Red, PointSize[Medium], Point[{x, y} /. pts]}}]pts = {a, b, c} = {{1, 2}, {0, 0}, {3, 0}};circumCenter = RegionCentroid[Circumsphere[pts]];bisector = Line[{circumCenter, RegionCentroid[Line[{a, b}]]}];Graphics[{{LightGray, Circumsphere[pts]}, {LightBlue, Triangle[pts]}, {Dashed, Red, bisector}, {Blue, Point[pts]}, {Red, PointSize[Large], Point[circumCenter]}}]DelaunayMesh 的定义属性是网格中任意 Triangle 的外接圆中不包含输入点:
SeedRandom[12345];
pts = RandomReal[{0, 1}, {6, 2}];
ℛ = DelaunayMesh[pts];
tris = First /@ MeshPrimitives[ℛ, 2];
circs = Circumsphere /@ tris;Show[HighlightMesh[ℛ, Style[{0, All}, Directive[Red, PointSize[Medium]]]], Graphics[{Gray, circs}], PlotRange -> {{0, 1}, {0, 1}}]使用 Circumsphere 近似函数的曲率半径:
y[x_] := Sin[x ^ 2];
r[x_] := ((1 + y'[x] ^ 2) ^ (3 / 2)) / Abs[y''[x]];
c[x_] := With[{ϵ = 0.0001}, Circumsphere[{{x - ϵ, y[x - ϵ]}, {x, y[x]}, {x + ϵ, y[x + ϵ]}}]];{N@r[1], Last[c[1]]}Show[{Plot[y[x], {x, -2, 2}], Graphics[{c[-1.2], c[0], c[1.4], Red, PointSize[Medium], Point[{-1.2, y[-1.2]}], Point[{0, y[0]}], Point[{1.4, y[1.4]}]}]}, AspectRatio -> Automatic]circ = Circumsphere[{{x - ϵ, y[x - ϵ]}, {x, y[x]}, {x + ϵ, y[x + ϵ]}}];Limit[Last@circ, ϵ -> 0, Assumptions -> x∈Reals]r[x]使用 Circumsphere 求覆盖三角化后任意区域的圆. 首先对区域三角化:
ℛ = TriangulateMesh@DiscretizeGraphics[Graphics[CountryData["UnitedStates", {"Shape", "Mercator"}]]]使用 Circumsphere 计算各个三角的外接圆:
circles = Circumsphere[First[#]]& /@ MeshPrimitives[ℛ, 2];Graphics[{Opacity[0.5], Map[{RandomColor[], #}&, circles]}]coverArea = Total@Map[Area[Disk@@#]&, circles]regionArea = Area[ℛ]regionArea / coverArea使用 Circumsphere 生成一个覆盖三角化区域的球. 首先对该区域进行离散和三角化:
ℛ = TriangulateMesh[[image], MeshQualityGoal -> "Minimal"]使用 Circumsphere 计算各个四面体的球:
spheres = Circumsphere[First[#]]& /@ MeshPrimitives[ℛ, 3];Graphics3D[{Opacity[0.5], Map[{RandomColor[], #}&, spheres]}]coverVolume = Total@Map[Volume[Ball@@#]&, spheres]regionVolume = Volume[ℛ]regionVolume / coverVolume属性和关系 (1)
Circumsphere 可以表示任意 Sphere,通过在二维中选取球上的3个点:
points = {{x + r, y}, {x - r, y}, {x, y + r}};Simplify[RegionMember[Sphere[{x, y}, r], points], {x, y, r}∈Reals && r > 0]Simplify[Circumsphere[points], r > 0]points = {{x + r, y, z}, {x - r, y, z}, {x, y + r, z}, {x, y, z + r}};Simplify[RegionMember[Sphere[{x, y, z}, r], points], {x, y, z, r}∈Reals && r > 0]Simplify[Circumsphere[points], r > 0]相关指南
-
▪
- 图形对象 ▪
- 基本几何区域 ▪
- 立体几何 ▪
- Graphics Primitives Gallery
文本
Wolfram Research (2014),Circumsphere,Wolfram 语言函数,https://reference.wolfram.com/language/ref/Circumsphere.html (更新于 2019 年).
CMS
Wolfram 语言. 2014. "Circumsphere." Wolfram 语言与系统参考资料中心. Wolfram Research. 最新版本 2019. https://reference.wolfram.com/language/ref/Circumsphere.html.
APA
Wolfram 语言. (2014). Circumsphere. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/Circumsphere.html 年
BibTeX
@misc{reference.wolfram_2026_circumsphere, author="Wolfram Research", title="{Circumsphere}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/Circumsphere.html}", note=[Accessed: 01-August-2026]}
BibLaTeX
@online{reference.wolfram_2026_circumsphere, organization={Wolfram Research}, title={Circumsphere}, year={2019}, url={https://reference.wolfram.com/language/ref/Circumsphere.html}, note=[Accessed: 01-August-2026]}