Part: fix TopoShape.isInside() for faces
This commit is contained in:
@@ -2184,7 +2184,8 @@ PyObject* TopoShapePy::isInside(PyObject *args)
|
||||
gp_Pnt vertex = gp_Pnt(pnt.x,pnt.y,pnt.z);
|
||||
if (shape.ShapeType() == TopAbs_VERTEX ||
|
||||
shape.ShapeType() == TopAbs_EDGE ||
|
||||
shape.ShapeType() == TopAbs_WIRE) {
|
||||
shape.ShapeType() == TopAbs_WIRE ||
|
||||
shape.ShapeType() == TopAbs_FACE) {
|
||||
|
||||
BRepBuilderAPI_MakeVertex mkVertex(vertex);
|
||||
BRepExtrema_DistShapeShape extss;
|
||||
|
||||
Reference in New Issue
Block a user