针对两个梁相交的情况
GetJoinedElements(Document document, Element element)
无论是分成两段的梁,或者没有分成两段的梁,都能获取到一条梁,所以这个函数是获取连接的元素
public static bool IsCuttingElementInJoin(Document document, Element firstElement, Element secondElement);
Api中是这样解释的,会让人错以为firstElement剪切使第二条梁断开,其实是firstElement是断开的梁,可以这样理解:firstElement分享共同的面,导致分成两段
True if the secondElement is cut by the firstElement, false if the secondElement
// is cut by the firstElement.
JoinGeometry(Document document, Element firstElement, Element secondElement)
secondElement被分成了两段