VR-Forces 4.2 Class Documentation
lclVecIter.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2001 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
14 #pragma once
15 
16 #include "vrfutil/lclVector.h"
17 #include "vrfutil/lclVtxList.h"
18 #include "vrfutil/iteratorBase.h"
19 #include <matrix/LibMatrix.h>
20 
24 #include "vrfutil/vrfutilDefines.h"
26 {
27 private:
30 
31 public:
32 
34 
38 
39  DtLocalVectorIterator(const DtList& list) :
40  DtIteratorBase<DtLocalVector>(list) {};
41 
42  virtual ~DtLocalVectorIterator() {};
43 
44  bool setToClosest(DtVector point)
45  {
46  DtVertexList* list = (DtVertexList*)(&myList);
47 
48  myCursor = list->getClosestVertex(point);
49 
50  return (myCursor != NULL);
51  };
52 };
53 

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)