mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0026217: Visualization, Select3D_SensitiveCircle - fix compilation with CLang for iOS
Inclusion detection for filled sensitive circles was corrected
This commit is contained in:
@@ -256,9 +256,11 @@ Standard_Boolean Select3D_SensitiveCircle::Matches (SelectBasics_SelectingVolume
|
||||
if (!theMgr.IsOverlapAllowed())
|
||||
{
|
||||
thePickResult = SelectBasics_PickResult (aDepth, aDistToCOG);
|
||||
if (!theMgr.Overlaps (myBndBox.CornerMin(), myBndBox.CornerMax(), Standard_False))
|
||||
for (Standard_Integer aPntIdx = anArrayOfPnt->Lower(); aPntIdx <= anArrayOfPnt->Upper(); ++aPntIdx)
|
||||
{
|
||||
return Standard_False;
|
||||
Standard_Real aDummy;
|
||||
if (!theMgr.Overlaps (anArrayOfPnt->Value (aPntIdx), aDummy))
|
||||
return Standard_False;
|
||||
}
|
||||
return Standard_True;
|
||||
}
|
||||
|
@@ -4337,7 +4337,7 @@ class Triangle: public AIS_InteractiveObject
|
||||
{
|
||||
public:
|
||||
// CASCADE RTTI
|
||||
DEFINE_STANDARD_RTTI(FilledCircle);
|
||||
DEFINE_STANDARD_RTTI(Triangle);
|
||||
Triangle (const gp_Pnt& theP1,
|
||||
const gp_Pnt& theP2,
|
||||
const gp_Pnt& theP3);
|
||||
|
Reference in New Issue
Block a user