1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

Compare commits

...

1 Commits

Author SHA1 Message Date
Benjamin Bihler
75f3b333f1 0029766: BRepExtrema_DistShapeShape Should Give Access to Its Solutions
Solution getters have been added to BRepExtrema_DistShapeShape.
2018-05-14 15:02:22 +02:00

View File

@@ -67,6 +67,16 @@ class BRepExtrema_DistShapeShape
{
return mySolutionsShape1.Length();
}
//! Returns the <N>th solution on the first Shape <br>
const BRepExtrema_SolutionElem& Solution1(const Standard_Integer N) const
{
return mySolutionsShape1.Value(N);
}
//! Returns the <N>th solution on the second Shape <br>
const BRepExtrema_SolutionElem& Solution2(const Standard_Integer N) const
{
return mySolutionsShape2.Value(N);
}
//! Returns the value of the minimum distance. <br>
Standard_EXPORT Standard_Real Value() const;
//! True if one of the shapes is a solid and the other shape <br>