mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-04-24 01:22:05 +05:00
NPAL16142: EDF443: GetShapesOnBox: No face inside the box.
This commit is contained in:
parent
769c0bb4a3
commit
28fd1da1df
@ -1420,6 +1420,12 @@ Handle(TColStd_HSequenceOfInteger)
|
|||||||
TopoDS_Shape aBox = theBox->GetValue();
|
TopoDS_Shape aBox = theBox->GetValue();
|
||||||
TopoDS_Shape aShape = theShape->GetValue();
|
TopoDS_Shape aShape = theShape->GetValue();
|
||||||
|
|
||||||
|
// Check presence of triangulation, build if need
|
||||||
|
if (!CheckTriangulation(aShape)) {
|
||||||
|
SetErrorCode("Cannot build triangulation on the shape");
|
||||||
|
return aSeqOfIDs;
|
||||||
|
}
|
||||||
|
|
||||||
// Call algo
|
// Call algo
|
||||||
GEOMAlgo_FinderShapeOn2 aFinder;
|
GEOMAlgo_FinderShapeOn2 aFinder;
|
||||||
Standard_Real aTol = 0.0001; // default value
|
Standard_Real aTol = 0.0001; // default value
|
||||||
|
Loading…
x
Reference in New Issue
Block a user