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