mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-16 10:08:36 +03:00
Deprecated Overlaps() methods have been moved from subclass SelectMgr_SelectingVolumeManager to the base class SelectBasics_SelectingVolumeManager, so that they are actually accessible within Select3D_SensitiveEntity::Matches() implementations. Several methods have been marked as pure virtual in the base interface. Second SelectMgr_BaseIntersector::OverlapsPolygon() has been dropped from virtual interface as useless (trivially replaceable).
44 lines
1.8 KiB
C++
44 lines
1.8 KiB
C++
// Copyright (c) 2021 OPEN CASCADE SAS
|
|
//
|
|
// This file is part of Open CASCADE Technology software library.
|
|
//
|
|
// This library is free software; you can redistribute it and/or modify it under
|
|
// the terms of the GNU Lesser General Public License version 2.1 as published
|
|
// by the Free Software Foundation, with special exception defined in the file
|
|
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
|
// distribution for complete text of the license and disclaimer of any warranty.
|
|
//
|
|
// Alternatively, this file may be used under the terms of Open CASCADE
|
|
// commercial license or contractual agreement.
|
|
|
|
#include <SelectBasics_SelectingVolumeManager.hxx>
|
|
|
|
// =======================================================================
|
|
// function : SelectBasics_SelectingVolumeManager
|
|
// purpose :
|
|
// =======================================================================
|
|
SelectBasics_SelectingVolumeManager::SelectBasics_SelectingVolumeManager()
|
|
{
|
|
//
|
|
}
|
|
|
|
// =======================================================================
|
|
// function : ~SelectBasics_SelectingVolumeManager
|
|
// purpose :
|
|
// =======================================================================
|
|
SelectBasics_SelectingVolumeManager::~SelectBasics_SelectingVolumeManager()
|
|
{
|
|
//
|
|
}
|
|
|
|
// =======================================================================
|
|
// function : Overlaps
|
|
// purpose :
|
|
// =======================================================================
|
|
Standard_Boolean SelectBasics_SelectingVolumeManager::Overlaps (const Handle(TColgp_HArray1OfPnt)& theArrayOfPts,
|
|
Standard_Integer theSensType,
|
|
SelectBasics_PickResult& thePickResult) const
|
|
{
|
|
return OverlapsPolygon (theArrayOfPts->Array1(), theSensType, thePickResult);
|
|
}
|