DihedralAngle[{p1,p2},{v,w}]
给出由通过 p1 和下标 p2 的线界定的两个半平面之间的角度,并在方向 v 和 w 上延伸.
DihedralAngle
DihedralAngle[{p1,p2},{v,w}]
给出由通过 p1 和下标 p2 的线界定的两个半平面之间的角度,并在方向 v 和 w 上延伸.
更多信息
- DihedralAngle 亦称为面角或扭转角.
- DihedralAngle[{p1,p2},{v,w}] 是法线为 p2-p1 的平面上的单位圆 Circle[p1] 上由半平面HalfPlane[{p1,p2},v] 和 HalfPlane[{p1,p2},w] 限定的弧长.
范例
打开所有单元 关闭所有单元基本范例 (1)
范围 (2)
用 DihedralAngle 求两个半平面之间的角:
DihedralAngle[{{0, 0, 0}, {0, 1, 0}}, {{1, 0, 1}, {1, 0, 0}}]Graphics3D[{HalfPlane[{{0, 0, 0}, {0, 1, 0}}, {1, 0, 1}], HalfPlane[{{0, 0, 0}, {0, 1, 0}}, {1, 0, 0}]}]DihedralAngle 适用于数值参数:
DihedralAngle[{{0, 1, 0}, {0, 0, 0}}, {{1, 0, 1}, {1, 0, 0}}]DihedralAngle[{{0, 1, 0}, {0, 0, 0}}, {{a, b, c}, {1, 0, 0}}]应用 (1)
coords = QuantityMagnitude[ChemicalData["Chloral", "AtomPositions"]];Show[{ChemicalData["Chloral", "MoleculePlot"], Graphics3D[Table[Style[Text[i, coords[[i]]], Bold], {i, Length[coords]}]]}]DihedralAngle[coords[[{5, 6}]], {Subtract@@coords[[{3, 5}]], Subtract@@coords[[{4, 6}]]}]属性和关系 (2)
二面角是由法线 p2-p1 和点 p1 定义的平面中的平面角:
p1 = {0, 0, 0};p2 = {0, 0, 1};
v = {1, 0, 0};w = {0, 1, 0};DihedralAngle[{p1, p2}, {v, w}]PlanarAngle[p1[[1 ;; 2]] -> {v, w}[[All, 1 ;; 2]]]DihedralAngle[{p1,p2},{v,w}] 等价于 PolyhedronAngle[ℛ,{p1,p2}],其中 v 和 w 是多面体 ℛ 上 {p1,p2} 的相邻面上的向量:
ℛ = Polyhedron[{{0, 0, 0}, {0, 1, 0}, {1, 1, 0}, {1, 0, 0}, {0, 0, 1}, {0, 1, 1}, {1, 1, 1},
{1, 0, 1}}, {{2, 3, 4, 1}, {1, 4, 8, 5}, {4, 3, 7, 8}, {3, 2, 6, 7}, {2, 1, 5, 6}, {5, 8, 7, 6}}];p1 = {0, 0, 0};p2 = {0, 1, 0};{v, w} = {{0, 0, 1}, {1, 0, 0}} - {p1, p1};{PolyhedronAngle[ℛ, {p1, p2}], DihedralAngle[{p1, p2}, {v, w}]}Graphics3D[{{Opacity[.5], Green, ℛ}, Thickness[.05], Red, Line[{{p1, p1 + v}, {p1, p1 + w}}], Blue, Line[{p1, p2}]}]可能存在的问题 (1)
对于符号参数,DihedralAngle 给出通用值:
DihedralAngle[{{0, 1, 0}, {0, 0, a}}, {{1, 0, 1}, {1, 0, 0}}]文本
Wolfram Research (2019),DihedralAngle,Wolfram 语言函数,https://reference.wolfram.com/language/ref/DihedralAngle.html.
CMS
Wolfram 语言. 2019. "DihedralAngle." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/DihedralAngle.html.
APA
Wolfram 语言. (2019). DihedralAngle. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/DihedralAngle.html 年
BibTeX
@misc{reference.wolfram_2026_dihedralangle, author="Wolfram Research", title="{DihedralAngle}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/DihedralAngle.html}", note=[Accessed: 05-September-2026]}
BibLaTeX
@online{reference.wolfram_2026_dihedralangle, organization={Wolfram Research}, title={DihedralAngle}, year={2019}, url={https://reference.wolfram.com/language/ref/DihedralAngle.html}, note=[Accessed: 05-September-2026]}