Article Directory
1. Introduction
Continuing with the previous idea , PCL judges the parallelism of two line segments (three-dimensional space) , we can judge the collinearity of three points as judging whether two line segments are parallel, and these two line segments share one of the endpoints, based on this when When the two line segments are parallel, it proves that the three points are collinear.
Two, implement the code
//标准文件
#include <iostream>
#include <thread>