gwnavruntime/world/pathfinderconfig.h Source File

pathfinderconfig.h
Go to the documentation of this file.
1 /*
2 * Copyright 2015 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 #ifndef Navigation_PathFinderConfig_H
8 #define Navigation_PathFinderConfig_H
9 
10 
13 
14 namespace Kaim
15 {
16 
17 
20 {
22 
23 public:
24  PathFinderConfig() { SetDefaults(); }
25 
26  void SetDefaults()
27  {
30  m_propagationBoxExtent = 200.0f;
31  m_abstractGraphTraversalMode = PATHFINDER_TRAVERSE_ABSTRACT_GRAPHS;
32  }
33 
34  bool operator==(const PathFinderConfig& other) const
35  {
40  }
41 
42  bool operator!=(const PathFinderConfig& other) const
43  {
44  return !operator==(other);
45  }
46 
47 public:
55 
63 
68 
72 };
73 
74 }
75 
76 #endif
KyFloat32 m_propagationBoxExtent
The PathFinder propagation is limited to a 2d oriented bounding box computed by inflating the segment...
Definition: pathfinderconfig.h:73
PathFinderAbstractGraphTraversalMode m_abstractGraphTraversalMode
Indicates if the PathFinder is allowed to traverse AbstractGraphs or not.
Definition: pathfinderconfig.h:77
KyFloat32 m_toOutsideNavMeshDistance
The maximum distance from the destination along the X axis and along the Y axis that will be searched...
Definition: pathfinderconfig.h:68
PathFinderAbstractGraphTraversalMode
Enumerates the possible way of dealing with AbstractGraphs.
Definition: pathfinderabstractgraphtraversalmode.h:16
Definition: gamekitcrowddispersion.h:20
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:137
Class that aggregates most important parameters that allow to configure the PathFinding of a Bot...
Definition: pathfinderconfig.h:19
float KyFloat32
Type used internally to represent a 32-bit floating-point number.
Definition: types.h:43
KyFloat32 m_fromOutsideNavMeshDistance
The maximum distance from the start along the X axis and along the Y axis that will be searched for N...
Definition: pathfinderconfig.h:58