BIMHome
v1.0.0
BIMHome接口文档说明
首页
相关页面
Topics
包
类
文件
PlatformAlgorithm
MeasurementTool
checkSolidsCollision
getCollisionSolids
getCurrentDocumentVisibleSolids
getCurve2dLength
getCurve2dsLength
getCurveLength
getCurveLength
getCurvesLength
getFaceArea
getFaceCenter
getFacePerimeterOrEdgeWireLength
getMatrixOfInertia
getMinDistance
getSolidCenter
getSolidVolume
getStaticMoments
getVisibleSolids
isCollision
isCollision
isCollision
◆
getCurvesLength()
static double getCurvesLength
(
const
Base::PolyLine
&
curve
)
static
获取多段线的总长度
计算并返回给定多段线的总长度,多段线由多个线段组成。
参数
[in]
curve
指向
Base::PolyLine
类型对象的智能指针,表示需要计算总长度的多段线。
返回
返回类型:double,表示多段线的总长度。