gwnavruntime/math/boxcontour.h Source File

boxcontour.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 
9 // primary contact: LASI - secondary contact: NOBODY
10 #ifndef Navigation_BoxContour_H
11 #define Navigation_BoxContour_H
12 
15 
16 
17 namespace Kaim
18 {
19 
20 class Transform;
21 class Box3f;
22 
23 namespace BoxContour
24 {
25  KyResult ComputeHexagonalContour_2d(const Transform& transform, const Box3f& localBox, KyArray<Vec2f>& contour, KyFloat32 mergePointDistance);
26  KyResult ComputeHexagonalContour(const Transform& transform, const Box3f& localBox, KyArray<Vec2f>& contour, KyFloat32& altMin, KyFloat32& altMax, KyFloat32 mergePointDistance);
27 
28  void Init4PointsContour(const Vec2f& center, const Vec2f& v1, const Vec2f& v2, KyArray<Vec2f>& contour);
29  void Init6PointsContour(const Vec2f& center, const Vec2f& v1, const Vec2f& v2, const Vec2f& v3, KyArray<Vec2f>& contour);
30 
31 } //namespace BoxContour
32 
33 } //namespace Kaim
34 
35 #endif // Navigation_BoxContour_H
KyInt32 KyResult
Defines a type that can be returned by methods or functions in the Gameware Navigation SDK to indicat...
Definition: types.h:254
Definition: gamekitcrowddispersion.h:20
float KyFloat32
Type used internally to represent a 32-bit floating-point number.
Definition: types.h:43