BIMHome v1.0.0
BIMHome接口文档说明
Public 成员函数 | 静态 Public 成员函数 | 所有成员列表
CalcIntersectionPoint类 参考

CalcIntersectionPoint 类,用于计算几何图形的交点 更多...

#include <CalcIntersectionPoint.h>

Public 成员函数

 CalcIntersectionPoint ()
 默认构造函数
 
 ~CalcIntersectionPoint ()
 析构函数
 

静态 Public 成员函数

static bool calculateLineIntersection (Vector3f startpot, Vector3f endpot, Vector3f startpot1, Vector3f endpot1, Vector3f &point)
 计算两条线段的交点
 
static void getIntersectionPoints (const std::vector< std::pair< Base::Vector3f, Base::Vector3f > > &lines, std::vector< Base::Vector3f > &intersectionPoints)
 计算多条线段的交点
 

详细描述

CalcIntersectionPoint 类,用于计算几何图形的交点

该类提供了计算线段交点的方法,支持批量计算和单条线段的交点计算。


该类的文档由以下文件生成: