VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
networkEdgeMetric.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2001 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: netwrkEdgMet.h,v $ $Revision: 1.9 $ $State: Exp $
7 *********************************************************************/
8 
9 #pragma once
10 
11 #include "gdb/gdbDefines.h"
12 #include "gdb/metric.h"
13 
14 class DtNetworkEdge;
15 class DtPoint;
16 
20 {
21 public:
22 
25 
27  virtual ~DtNetworkEdgeMetric();
28 
31 
34 
35 public:
36 
38  virtual double measure(const DtNetworkEdge& edge) const = 0;
39 
41  virtual bool valid(const DtNetworkEdge& edge) const = 0;
42 
44  virtual bool validSW(double xx, double yy) const = 0;
45 
47  virtual bool validSE(double xx, double yy) const = 0;
48 
50  virtual bool validNE(double xx, double yy) const = 0;
51 
53  virtual bool validNW(double xx, double yy) const = 0;
54 
56  virtual double heuristic(const DtPoint& source, const DtPoint& dest) const = 0;
57 
58 };
59 
Metric for network segments.
Definition: networkEdgeMetric.h:19
DtMetric & operator=(const DtMetric &orig)
Assignment operator.
#define DT_DLL_gdb
Definition: gdbDefines.h:25
const char * source
Definition: lz4.h:442
Definition: networkEdge.h:28
Definition: metric.h:23
Definition: point.h:34
char * dest
Definition: lz4.h:440

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)