VR-Forces Development_Version Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrfutil
localVector.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 Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)