Salome HOME
copy tag mergefrom_BR_V0_1_CC_Salome_04oct07
[modules/yacs.git] / src / lineconn2d / LineConn2d_Connection.cxx
1 // File:      LineConn2d_Connection.cpp
2 // Created:   03.08.05 21:55:54
3 // Author:    Alexander GRIGORIEV
4 // Copyright: Open Cascade 2005
5
6
7 #include <LineConn2dAfx.h>
8
9 #include <LineConn2d_Connection.h>
10
11 //=======================================================================
12 //function : LineConn2d_Connection()
13 //purpose  : Constructor
14 //=======================================================================
15
16 LineConn2d_Connection::LineConn2d_Connection
17                         (const Handle(NCollection_BaseAllocator)& theAlloc,
18                          const Standard_Integer                   thePort1,
19                          const Standard_Integer                   thePort2)
20    : mySegments (theAlloc)
21 {
22   myPort[0] = thePort1;
23   myPort[1] = thePort2;
24 }