📏 三维空间两点距离计算器3D Distance Calculator
输入三维空间中两点的坐标 (x₁, y₁, z₁) 和 (x₂, y₂, z₂),按 d = √(Δx² + Δy² + Δz²) 算出两点间的距离,同时给出各轴差值、距离平方和中点坐标。Enter two points (x₁, y₁, z₁) and (x₂, y₂, z₂) in 3D space to get the distance d = √(Δx² + Δy² + Δz²), along with the difference on each axis, the squared distance and the midpoint.
使用说明与常见问题How-to & FAQ
「三维空间两点距离计算器」是什么?What is the 3D Distance Calculator tool?
输入三维空间中两点的坐标 (x₁, y₁, z₁) 和 (x₂, y₂, z₂),按 d = √(Δx² + Δy² + Δz²) 算出两点间的距离,同时给出各轴差值、距离平方和中点坐标。Enter two points (x₁, y₁, z₁) and (x₂, y₂, z₂) in 3D space to get the distance d = √(Δx² + Δy² + Δz²), along with the difference on each axis, the squared distance and the midpoint.
如何使用「三维空间两点距离计算器」?How do I use the 3D Distance Calculator tool?
在「三维空间两点距离计算器」中,填写「x₁」、「y₁」、「z₁」、「x₂」、「y₂」等参数,结果会随输入实时计算并显示在下方。In the 3D Distance Calculator: Fill in "x₁", "y₁", "z₁", "x₂", "y₂"; results are recalculated instantly as you type.
三维距离公式是什么?What is the 3D distance formula?
d = √((x₂ − x₁)² + (y₂ − y₁)² + (z₂ − z₁)²),是勾股定理在三维空间的推广:先求两点在 x、y、z 三个方向上的差,平方相加后开方。d = √((x₂ − x₁)² + (y₂ − y₁)² + (z₂ − z₁)²) — Pythagoras extended to three dimensions: take the difference along x, y and z, add their squares and take the square root.
坐标可以是负数或小数吗?Can coordinates be negative or decimals?
可以,任意实数都行(绝对值不超过 10¹⁵)。距离与单位无关:坐标用米,结果就是米。Yes, any real numbers up to 10¹⁵ in absolute value. The distance is in whatever unit the coordinates use — metres in, metres out.
计算精度如何?How precise are the results?
「三维空间两点距离计算器」使用 JavaScript 双精度浮点数(约 15–16 位有效数字);极大或极小的数值可能存在精度误差。The 3D Distance Calculator uses double-precision floating point (about 15–16 significant digits); very large or very small values may lose precision.
「三维空间两点距离计算器」免费吗?需要注册吗?Is the 3D Distance Calculator free? Do I need an account?
「三维空间两点距离计算器」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The 3D Distance Calculator is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.