VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfutil
lclVector.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 19990-2001 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: lclVector.h,v $ $Revision: 1.6 $ $State: Exp $
7
*******************************************************************************/
15
18
19
#ifndef DtLclVector_H_
20
#define DtLclVector_H_
21
22
#include "
vrfutil/rwVector.h
"
23
24
#include "
vrfutil/vrfutilDefines.h
"
25
class
DT_DLL_vrfutil
DtLocalVector
:
public
DtRwVector
26
{
27
public
:
29
DtLocalVector
(
const
DtString
& name = DtString::nullString(),
30
DtReaderWriterRegistry
* parentRegistry = NULL);
31
33
DtLocalVector
(
double
x,
double
y,
double
z,
34
const
DtString
& name = DtString::nullString(),
35
DtReaderWriterRegistry
* parentRegistry = NULL);
36
38
DtLocalVector
(
const
DtVector
& fromVec,
39
const
DtString
& name = DtString::nullString(),
40
DtReaderWriterRegistry
* parentRegistry = NULL);
41
43
DtLocalVector
(
const
DtLocalVector
& orig,
DtReaderWriterRegistry
*
44
parentRegistry = NULL);
45
47
DtLocalVector
&
operator=
(
const
DtLocalVector
& orig);
48
49
virtual
~
DtLocalVector
();
50
58
62
virtual
double
headingAngleTo
(
const
DtVector
& localPosition)
const
;
63
67
virtual
double
elevationAngleTo
(
const
DtVector
& localPosition)
const
;
68
71
virtual
double
distSquaredTo2D
(
const
DtVector
& localPosition)
const
;
72
73
protected
:
74
75
};
76
77
78
#endif
79
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
)