gwnavruntime/queries/utils/pathrefinerconfig.h Source File

pathrefinerconfig.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 
10 
11 namespace Kaim
12 {
13 
14 class PathRefinerConfig
15 {
16 public:
17  PathRefinerConfig() { SetDefault(); }
18  void SetDefault();
19 
26  KyFloat32 m_idealDistanceToBorders;
27 
32  KyFloat32 m_minimalNewEdgeLength;
33 
40  KyFloat32 m_thresholdAngleDeg;
41 
42 
43 public: // internal
44  // This method is called at queries early stages to compute only once the internal
45  // values, such as m_thresholdAngleCos, that are costly to compute from the actual
46  // parameters expressed in common measures.
47  void ComputeInternals();
48 
49  KyFloat32 m_thresholdAngleCos; // Computed in ComputeInternals
50 };
51 
52 }
53 
54 
55 
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17
float KyFloat32
float
Definition: types.h:32