📄 db23d.m
字号:
function [dd] = db23d(x1,y1,z1,x2,y2,z2);
%function [dd] = db23d(x1,y1,z1,x2,y2,z2);
%
%Auxiliary function that caclulates the distance between two points in 3D
%
%
%
%(x1,y1,z1) = The coordinates of the first point in 3D
%(x2,y2,z2) = The coordinates of the second point in 3D
%dd = Their distance
dd = sqrt((x2 - x1).^2 + (y2 - y1).^2 + (z2 - z1).^2);
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This is part of the EIDORS suite.
% Copyright (c) N. Polydorides 2001
% Copying permitted under terms of GNU GPL
% See enclosed file gpl.html for details.
% EIDORS 3D version 1.0
% MATLAB version 5.3 R11
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -