VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
networkSegmentHelper.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: netwrkSegHelper.h,v $ $Revision: 1.2 $ $State: Exp $
7 *******************************************************************************/
8 // \file netwrkSegHelper.h
9 // \brief Contains the DtNetworkSegmentHelper class declaration which wraps a
10 // DtNetworkSegment. This is a convenience class that allows the setting
11 // of a Chord rather than depending on a DtNetworkEdge to define the segment
12 
13 #ifndef networkSegmentHelper_H_
14 #define networkSegmentHelper_H_
15 
16 #include "gdb/gdbDefines.h"
17 #include <vlutil/vlConfig.h>
18 #include "geometry/chord.h"
19 #include "gdb/networkSegment.h"
20 #include <vlutil/vlString.h>
21 
22 //
23 // DtNetworkSegmentHelper represents a section of a network that is approximated
24 // by a line segment.
26 {
27 public:
28 
29  // default constructor
31 
32  // destructor
33  virtual ~DtNetworkSegmentHelper();
34 
35  // copy constructor
37 
38  // assignment operator
40 
41  // get/set chord
42  virtual const DtChord chord() const;
43  virtual void setChord(const DtChord& chord);
44 
45  virtual DtString type();
46 
47  // first and last endpoint, as traversing forward
48  virtual DtPoint endpoint0() const;
49  virtual DtPoint endpoint1() const;
50 
51 protected:
52 
54 };
55 
56 #endif

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)