VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfutil
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
"
25
class
DT_DLL_vrfutil
DtLocalVectorIterator
:
public
DtIteratorBase
<DtLocalVector>
26
{
27
private
:
29
const
DtLocalVectorIterator
&
operator=
(
const
DtLocalVectorIterator
& orig);
30
31
public
:
32
33
DtLocalVectorIterator
();
34
37
DtLocalVectorIterator
(
const
DtLocalVectorIterator
& orig) :
DtIteratorBase
<
DtLocalVector
>(orig) {};
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
)