Hi
I need functionality for distances between brep shapes. It seems that dg kernel is Opencascade-based. Is there an analogue of the OCCT BRepExtrema_DistShapeShape class?
Thanks in advance
Shape to shape distance
Re: Shape to shape distance
I think IMetrics_DG queried from the entity is supposed to do that.
If you, say, need distance between sub-shapes, like wire and face you could create new dummy entities of "BRep" type and use it's IBRepGeometry_DG.Shape property to assign the sub-shapes to it.
I hope this helps
If you, say, need distance between sub-shapes, like wire and face you could create new dummy entities of "BRep" type and use it's IBRepGeometry_DG.Shape property to assign the sub-shapes to it.
I hope this helps