summaryrefslogtreecommitdiff
path: root/src/IGESDimen/IGESDimen_BasicDimension.cxx
blob: f1447f74d55ed59374bca8d95437ae4a209e199c (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
//--------------------------------------------------------------------
//
//  File Name : IGESDimen_BasicDimension.cxx
//  Date      :
//  Author    : CKY / Contract Toubro-Larsen
//  Copyright : MATRA-DATAVISION 1993
//
//--------------------------------------------------------------------

#include <IGESDimen_BasicDimension.ixx>


    IGESDimen_BasicDimension::IGESDimen_BasicDimension ()    {  }

    void  IGESDimen_BasicDimension::Init
  (const Standard_Integer nbPropVal, 
   const gp_XY& thell, const gp_XY& thelr,
   const gp_XY& theur, const gp_XY& theul)
{
  theNbPropertyValues = nbPropVal;
  theLowerLeft  = thell;
  theLowerRight = thelr;
  theUpperRight = theur;
  theUpperLeft  = theul;
  InitTypeAndForm(406,31);
}


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

    gp_Pnt2d  IGESDimen_BasicDimension::LowerLeft () const 
{
  gp_Pnt2d g(theLowerLeft);
  return g;
}


    gp_Pnt2d  IGESDimen_BasicDimension::LowerRight () const 
{
  gp_Pnt2d g(theLowerRight);
  return g;
}

    gp_Pnt2d  IGESDimen_BasicDimension::UpperRight () const 
{
  gp_Pnt2d g(theUpperRight);
  return g;
}

    gp_Pnt2d  IGESDimen_BasicDimension::UpperLeft () const 
{
  gp_Pnt2d g(theUpperLeft);
  return g;
}