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
◆
isCollision()
[3/3]
static bool isCollision
(
App::IDocumentObject
*
shapeA
,
App::IDocumentObject
*
shapeB
,
App::IDocumentObject
*
resultShape
)
static
判断两个形体是否碰撞
判断两个形体是否碰撞
参数
[in]
shapeA
形体A
[in]
shapeB
形体B
[in]
resultShape
两个形体的交集的shape
返回
true:碰撞,false无碰撞