mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-24 08:20:35 +05:00
PAL7508. Correct behaviour of GetShapesOnPlane().
This commit is contained in:
parent
23c12be7ac
commit
86973cfa9e
@ -1055,9 +1055,7 @@ Handle(TColStd_HSequenceOfTransient) GEOMImpl_IShapesOperations::GetShapesOnPlan
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Handle(Geom_Plane) aPlane = new Geom_Plane(aLoc, - aVec);
|
||||
// The "-" is because interpretation of normale differs
|
||||
// between interface and algorithm for the case of plane
|
||||
Handle(Geom_Plane) aPlane = new Geom_Plane(aLoc, aVec);
|
||||
|
||||
// Call algo
|
||||
GEOMAlgo_FinderShapeOn aFinder;
|
||||
|
@ -338,7 +338,7 @@ def TestOtherOperations (geompy, math):
|
||||
faces_on_pln = geompy.GetShapesOnPlane(blocksComp, geompy.ShapeType["FACE"],
|
||||
v_0pp, geompy.GEOM.ST_ONIN)
|
||||
for face_i in faces_on_pln:
|
||||
geompy.addToStudy(face_i, "Face on Plane or in direction of normale (0, 1, 1)")
|
||||
geompy.addToStudy(face_i, "Face on Plane (N = (0, 1, 1)) or below it")
|
||||
|
||||
# GetShapesOnCylinder
|
||||
edges_on_cyl = geompy.GetShapesOnCylinder(blocksComp, geompy.ShapeType["EDGE"],
|
||||
|
Loading…
Reference in New Issue
Block a user