Search found 1 match

by Chris Weber
Fri Oct 11, 2024 1:04 am
Forum: DG Kernel discussions
Topic: Face adjacency
Replies: 1
Views: 1613

Re: Face adjacency

Adjacent faces share an edge, so IBRepEdge_DG.GetOtherFace() should be the key here. Suppose you have faceThis and faceOther. Use faceThis.GetEdges(). Then for every edge call IBRepFace_DG faceOther = edge.GetOtherFace(faceThis); IBRepShape_DG shThis = faceThis.As<IBRepShape_DG>(); IBRepShape_DG shO...