BIMHome
v1.0.0
BIMHome接口文档说明
首页
相关页面
Topics
包
类
文件
Base
GeometryUtility
GeometryUtility
getGeometryListOffset
getGeometryOffset
getMaxLengthGeometryObj
~GeometryUtility
◆
getMaxLengthGeometryObj()
static
Base::LineSegment
* getMaxLengthGeometryObj
(
std::vector<
Base::Geometry
* >
partlist
)
static
从几何对象列表中获取最长的线段
遍历几何对象列表
partlist
,找出其中最长的线段对象。
参数
[in]
partlist
几何对象裸指针列表
返回
指向最长线段对象的裸指针,如果列表为空或无线段对象,则返回 nullptr