VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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
NOTE: This entire class is deprecated, in favor of Dt3dChord.
Definition: chord.h:40
virtual DtPoint endpoint0() const
DtNetworkSegment & operator=(const DtNetworkSegment &orig)
Definition: networkSegmentHelper.h:25
Definition: networkSegment.h:26
DtChord myChord
Definition: networkSegmentHelper.h:53
#define DT_DLL_gdb
Definition: gdbDefines.h:25
virtual DtString type()
A DtChord is a finite line segment in 3-space, represented by two points. Data derived from the two e...
virtual const DtChord chord() const
virtual DtPoint endpoint1() const
Definition: point.h:34

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)