VR-Forces 4.0.4 Class Documentation
include/vrfutil/lclVector.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 19990-2001 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: lclVector.h,v $ $Revision: 1.6 $ $State: Exp $
00007 *******************************************************************************/
00015 
00018 
00019 #ifndef DtLclVector_H_
00020 #define DtLclVector_H_
00021 
00022 #include "vrfutil/rwVector.h"
00023 
00024 #include "vrfutil/vrfutilDefines.h"
00025 class DT_DLL_vrfutil DtLocalVector : public DtRwVector
00026 {
00027 public:
00029    DtLocalVector(const DtString& name = DtString::nullString(), 
00030       DtReaderWriterRegistry* parentRegistry = NULL);
00031 
00033    DtLocalVector(double x, double y, double z, 
00034       const DtString& name = DtString::nullString(),
00035       DtReaderWriterRegistry*  parentRegistry = NULL);
00036 
00038    DtLocalVector( const DtVector& fromVec, 
00039       const DtString& name = DtString::nullString(),
00040       DtReaderWriterRegistry*  parentRegistry = NULL);
00041 
00043    DtLocalVector(const DtLocalVector& orig, DtReaderWriterRegistry* 
00044       parentRegistry = NULL);
00045 
00047    DtLocalVector& operator=(const DtLocalVector& orig);
00048 
00049    virtual ~DtLocalVector();
00050 
00058 
00062    virtual double headingAngleTo(const DtVector& localPosition) const;
00063 
00067    virtual double elevationAngleTo(const DtVector& localPosition) const;
00068 
00071    virtual double distSquaredTo2D(const DtVector& localPosition) const;
00072 
00073 protected:
00074 
00075 };
00076 
00077 
00078 #endif
00079 

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)