The PCL judgment point is located inside and outside the ball

1. Introduction

In the previous article ( PCL calculates the coordinates of the center of the sphere based on any four points ), it has been mentioned how to calculate the coordinates of the center of the sphere through four points. Based on this, we can also determine the relative position of any point relative to the sphere (internal or external).

Suppose there are four non-coplanar points, ( x 1 , y 1 ) (x_1,y_1)

Guess you like

Origin blog.csdn.net/dayuhaitang1/article/details/132775603