使用boost::geometry::math::equals的测试程序 #include <iostream> #include <boost/geometry.hpp> int main() { // 创建两个点 boost::geom