mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
Integration of OCCT 6.5.0 from SVN
This commit is contained in:
28
src/IFSelect/IFSelect_SelectControl.cxx
Executable file
28
src/IFSelect/IFSelect_SelectControl.cxx
Executable file
@@ -0,0 +1,28 @@
|
||||
#include <IFSelect_SelectControl.ixx>
|
||||
|
||||
|
||||
|
||||
Handle(IFSelect_Selection) IFSelect_SelectControl::MainInput () const
|
||||
{ return themain; }
|
||||
|
||||
Handle(IFSelect_Selection) IFSelect_SelectControl::SecondInput () const
|
||||
{ return thesecond; }
|
||||
|
||||
Standard_Boolean IFSelect_SelectControl::HasSecondInput () const
|
||||
{ return (!thesecond.IsNull()); }
|
||||
|
||||
void IFSelect_SelectControl::SetMainInput
|
||||
(const Handle(IFSelect_Selection)& sel)
|
||||
{ themain = sel; }
|
||||
|
||||
void IFSelect_SelectControl::SetSecondInput
|
||||
(const Handle(IFSelect_Selection)& sel)
|
||||
{ thesecond = sel; }
|
||||
|
||||
|
||||
void IFSelect_SelectControl::FillIterator
|
||||
(IFSelect_SelectionIterator& iter) const
|
||||
{
|
||||
iter.AddItem(themain);
|
||||
if (!thesecond.IsNull()) iter.AddItem(thesecond);
|
||||
}
|
Reference in New Issue
Block a user