VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
rwVectorIterator.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2001 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: rwVecIterator.h,v $ $Revision: 1.9 $ $State: Exp $
7 *******************************************************************************/
8 
11 
17 
18 #ifndef DtRwVectorIterator_H_
19 #define DtRwVectorIterator_H_
20 
21 #include "vrfutil/vertexList.h"
22 #include "vrfutil/rwVector.h"
23 #include "vrfutil/iteratorBase.h"
27 
28 #include "vrfutil/vrfutilDefines.h"
30 {
31 private:
36 
37 public:
38 
40  DtRwVectorIterator(const DtList& list) : DtIteratorBase<DtRwVector>(list) {};
41 
44 
45  virtual ~DtRwVectorIterator() {};
46 
49  bool setToClosest(DtVector point)
50  {
51  DtVertexList* list = (DtVertexList*)(&myList);
52 
53  myCursor = list->getClosestVertex(point);
54 
55  return (myCursor != NULL);
56  };
57 };
58 
59 #endif

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)