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
◆
getCurveLength()
[1/2]
static double getCurveLength
(
std::shared_ptr<
Base::Curve
>
curve
)
static
获取曲线的长度
计算并返回给定曲线的长度。
参数
[in]
curve
指向
Base::Curve
类型对象的智能指针,表示需要计算长度的曲线。
返回
返回类型:double,表示曲线的长度。