How to calculate the distance between a pointCloud and a planeModel?

4 visualizzazioni (ultimi 30 giorni)
Hi There! I have got two objects. I have got a Planemodel that represents a plane with a certain orientation in a certain place like so:
plane = planeModel([0 0 1 1]);
as well as a pointCloud like so:
load('object3d.mat');
I'm looking for a way to calculate the distance between the plane and the points in the point cloud, where points on one side of the plane get a positive and the other side a negative distance.

Risposta accettata

Adrian
Adrian il 17 Lug 2017
I just want to add this: https://de.mathworks.com/matlabcentral/fileexchange/62096-point-plane-distance?focused=7396450&tab=function I found it after a lot more searching online, maybe it will help others who stumble across my question here.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by