inertia.m

版本 1.0.0.0 (2.7 KB) 作者: Thomas Seers
find best fitting plane through x,y,z points and calculate quality metrics (coplanarity/colinearity)
298.0 次下载
更新时间 2014/6/3

查看许可证

The best fit plane is assumed to pass through the point's centre of mass:
i.e. cent = [mean(points(:,1)) mean(points(:,2)) mean(points(:,3))]
INPUT: points - nx3 xyz vertex list
OUTPUT: Dir - directional cosine corresponding to the pole to the best fit plane
M - vertex coplanarity
K - vertex colinearity
USAGE: [Dir,M,K] = inertia(points);
REFERENCES: Fernández, O., 2005. Obtaining a best fitting plane through 3D georeferenced data. Journal of Structural Geology, 27, 855–858
COPYRIGHT: Thomas Seers 03/06/2014

引用格式

Thomas Seers (2024). inertia.m (https://www.mathworks.com/matlabcentral/fileexchange/46840-inertia-m), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2013a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Point Cloud Processing 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0