VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
gdb
areaNetMet.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 2001 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
/*********************************************************************
6
** $RCSfile: areaNetMet.h,v $ $Revision: 1.9 $ $State: Exp $
7
*********************************************************************/
8
9
#pragma once
10
11
#include "
gdb/gdbDefines.h
"
12
#include "
gdb/metric.h
"
13
#include "
geometry/point.h
"
14
15
class
DtNetworkSegment
;
16
22
23
class
DT_DLL_gdb
DtNetworkAreaMetric
:
public
DtMetric
24
{
25
26
public
:
27
29
DtNetworkAreaMetric
();
30
32
virtual
~
DtNetworkAreaMetric
();
33
35
DtNetworkAreaMetric
(
const
DtNetworkAreaMetric
& orig);
36
38
DtNetworkAreaMetric
&
operator=
(
const
DtNetworkAreaMetric
& orig);
39
41
virtual
double
measure(
const
DtNetworkSegment
& seg)
const
;
42
45
virtual
bool
valid(
const
DtNetworkSegment
& seg)
const
;
46
48
virtual
const
DtPoint
& centerOfInterest()
const
;
49
virtual
void
setCenterOfInterest(
const
DtPoint
& centerOfInterest);
50
52
virtual
DtVector
vectorCenterOfInterest()
const
;
53
virtual
void
setCenterOfInterest(
const
DtVector
& centerOfInterest);
54
56
virtual
void
initialize
(
Coordinate_System
* cs);
57
58
protected
:
59
60
DtPoint
myCenterOfInterest
;
61
DtVector
myTopoCenterOfInterest
;
62
};
63
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)