BIMHome
v1.0.0
BIMHome接口文档说明
首页
相关页面
Topics
包
类
文件
Base
CalcIntersectionPoint
CalcIntersectionPoint
calculateLineIntersection
getIntersectionPoints
~CalcIntersectionPoint
◆
getIntersectionPoints()
static void getIntersectionPoints
(
const std::vector< std::pair<
Base::Vector3f
,
Base::Vector3f
> > &
lines
,
std::vector<
Base::Vector3f
> &
intersectionPoints
)
static
计算多条线段的交点
计算多条线段的交点,并将结果存储在 intersectionPoints 中。
参数
[in]
lines
一个包含线段对的向量,每对包含线段的起点和终点
[out]
intersectionPoints
用于存储交点的向量