VR-Forces 4.6 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
gdb
rangeNetworkSegmentMetric.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 2001 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
/*********************************************************************
6
** $RCSfile: rangeNetSegMet.h,v $ $Revision: 1.12 $ $State: Exp $
7
*********************************************************************/
8
9
#pragma once
10
11
#include "
gdb/gdbDefines.h
"
12
#include "
gdb/networkSegmentMetric.h
"
13
14
class
DtNetworkSegment
;
15
16
20
class
DT_DLL_gdb
DtRangeNetworkSegmentMetric
:
public
DtNetworkSegmentMetric
21
{
22
public
:
23
25
DtRangeNetworkSegmentMetric
();
26
28
virtual
~
DtRangeNetworkSegmentMetric
();
29
31
DtRangeNetworkSegmentMetric
(
const
DtRangeNetworkSegmentMetric
& orig);
32
34
DtRangeNetworkSegmentMetric
&
operator=
(
const
DtRangeNetworkSegmentMetric
& orig);
35
36
public
:
37
39
virtual
double
measure
(
const
DtNetworkSegment
& seg)
const
;
40
43
virtual
bool
circumscribedSquareTest(
const
DtNetworkSegment
& seg)
const
;
44
47
virtual
bool
inscribedSquareTest(
const
DtNetworkSegment
& seg)
const
;
48
50
virtual
bool
valid
(
const
DtNetworkSegment
& seg)
const
;
51
53
virtual
bool
validSW
(
double
xx,
double
yy)
const
;
54
56
virtual
bool
validSE
(
double
xx,
double
yy)
const
;
57
59
virtual
bool
validNE
(
double
xx,
double
yy)
const
;
60
62
virtual
bool
validNW
(
double
xx,
double
yy)
const
;
63
65
virtual
const
DtPoint
& centerOfInterest()
const
;
66
virtual
void
setCenterOfInterest(
const
DtPoint
& val);
67
69
virtual
DtVector
vectorCenterOfInterest()
const
;
70
virtual
void
setCenterOfInterest(
const
DtVector
& val);
71
73
virtual
double
maxRange()
const
;
74
virtual
void
setMaxRange(
double
val);
75
77
virtual
double
measureMultiplier()
const
;
78
virtual
void
setMeasureMultiplier(
double
val);
79
81
virtual
bool
evalInZ()
const
;
82
virtual
void
setEvalInZ(
bool
evalInZ);
83
86
virtual
double
closestPointInXY
(
const
DtNetworkSegment
& seg,
const
DtPoint
& pointFrom,
DtPoint
& closest);
87
virtual
void
initialize
(
Coordinate_System
* cs);
88
89
protected
:
90
virtual
double
closestPointInXY
(
const
DtNetworkSegment
& seg,
const
DtPoint
& pointFrom)
const
;
91
92
virtual
double
distanceToPoint(
const
DtNetworkSegment
& seg,
const
DtPoint
& point)
const
;
93
94
protected
:
95
96
DtPoint
myCenterOfInterest
;
97
double
myMaxRange
;
98
double
myMeasureMultiplier
;
99
bool
myEvalInZ
;
100
101
};
102
Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)