gwnavruntime/queries/nearestborderhalfedgefromposquery.h Source File

nearestborderhalfedgefromposquery.h
Go to the documentation of this file.
1 /*
2 * Copyright 2016 Autodesk, Inc. All rights reserved.
3 * Use of this software is subject to the terms of the Autodesk license agreement and any attachments or Appendices thereto provided at the time of installation or download,
4 * or which otherwise accompanies this software in either electronic or hard copy form, or which is signed by you and accepted by Autodesk.
5 */
6 
7 #pragma once
8 
16 
17 namespace Kaim
18 {
25 template<class TraverseLogic>
27 {
28 public:
29  // ------------------------------ Functions -----------------------------
30 
31  virtual void Advance(WorkingMemory* workingMemory)
32  {
33  PerformQuery(workingMemory);
34  m_processStatus = QueryDone;
35  }
36 
38  void PerformQuery(WorkingMemory* workingMemory = nullptr);
39 
40 public: // internal
41  void PerformQueryWithInputCoordPos(WorkingMemory* workingMemory);
42 };
43 
44 }
45 
47 
48 
QueryProcessStatus m_processStatus
Modified by the query within Advance(). Do not modify.
Definition: iquery.h:231
Base class for NearestBorderHalfEdgeFromPosQuery.
Definition: basenearestborderhalfedgefromposquery.h:32
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17
void PerformQuery(WorkingMemory *workingMemory=nullptr)
If workingMemory param is nullptr, m_database.GetWorkingMemory() will be used.
Definition: nearestborderhalfedgefromposquery.inl:11
The NearestBorderHalfEdgeFromPosQuery class finds the NavMesh border nearest a specified 3D position ...
Definition: nearestborderhalfedgefromposquery.h:26
virtual void Advance(WorkingMemory *workingMemory)
This function is called by the QueryQueue to process one step on the query.
Definition: nearestborderhalfedgefromposquery.h:31