summaryrefslogtreecommitdiff
path: root/src/IGESGraph/IGESGraph_Pick.cxx
blob: 41170b08956e48499ff6cfa1cefd00f7d39ae08b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
//--------------------------------------------------------------------
//
//  File Name : IGESGraph_Pick.cxx
//  Date      :
//  Author    : CKY / Contract Toubro-Larsen
//  Copyright : MATRA-DATAVISION 1993
//
//--------------------------------------------------------------------

#include <IGESGraph_Pick.ixx>

    IGESGraph_Pick::IGESGraph_Pick ()    {  }


    void IGESGraph_Pick::Init
  (const Standard_Integer nbProps, const Standard_Integer aPickStatus)
{
  theNbPropertyValues = nbProps;
  thePick             = aPickStatus;
  InitTypeAndForm(406,21);
}

    Standard_Integer IGESGraph_Pick::NbPropertyValues () const
{
  return theNbPropertyValues;
}

    Standard_Integer IGESGraph_Pick::PickFlag () const
{
  return thePick;
}

    Standard_Boolean IGESGraph_Pick::IsPickable () const
{
  return (thePick == 0);
}