mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-13 11:46:28 +08:00
29 lines
778 B
C++
Executable File
29 lines
778 B
C++
Executable File
#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);
|
|
}
|