VR-Forces Development_Version Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrfutil
localVectorIterator.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/localVector.h
"
17
#include "
vrfutil/localVertexList.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 Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)