VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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 "readerWriter/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 Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)