gwnavruntime/queries/utils/pathrefinerconfig.h Source File

pathrefinerconfig.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 
8 // Primary contact: LAPA - secondary contact: NOBODY
9 #ifndef Navigation_PathRefinerConfig_H
10 #define Navigation_PathRefinerConfig_H
11 
13 
14 
15 namespace Kaim
16 {
17 
18 
19 class PathRefinerConfig
20 {
21 public:
22  PathRefinerConfig() { SetDefault(); }
23  void SetDefault();
24 
31  KyFloat32 m_idealDistanceToBorders;
32 
37  KyFloat32 m_minimalNewEdgeLength;
38 
45  KyFloat32 m_thresholdAngleDeg;
46 
47 
48 public: // internal
49  // This method is called at queries early stages to compute only once the internal
50  // values, such as m_thresholdAngleCos, that are costly to compute from the actual
51  // parameters expressed in common measures.
52  void ComputeInternals();
53 
54  KyFloat32 m_thresholdAngleCos; // Computed in ComputeInternals
55 };
56 
57 }
58 
59 
60 #endif //Navigation_PathRefinerConfig_H
61 
Definition: gamekitcrowddispersion.h:20
float KyFloat32
Type used internally to represent a 32-bit floating-point number.
Definition: types.h:43