mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
# Check circles nb
This commit is contained in:
parent
9b6c641484
commit
a425f3ade1
@ -61,7 +61,6 @@
|
||||
#include <TopoDS_Face.hxx>
|
||||
#include <TopoDS_Shape.hxx>
|
||||
#include <TopoDS_Wire.hxx>
|
||||
#include <iostream>
|
||||
|
||||
#define BVH_PRIMITIVE_LIMIT 800000
|
||||
|
||||
@ -639,7 +638,7 @@ Standard_Boolean StdSelect_BRepSelectionTool::GetSensitiveForFace (const TopoDS_
|
||||
else if (Handle(Geom_ConicalSurface) aGeomCone = Handle(Geom_ConicalSurface)::DownCast (aSurf))
|
||||
{
|
||||
NCollection_Sequence<gp_Circ> aCircles = getCylinderCircles (theFace);
|
||||
if (aCircles.Size() > 0)
|
||||
if (aCircles.Size() > 0 && aCircles.Size() < 3)
|
||||
{
|
||||
const gp_Cone aCone = BRepAdaptor_Surface (theFace).Cone();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user