gwnavruntime/math/contourshape.h Source File

contourshape.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 
12 
13 namespace Kaim
14 {
15 
16 class Transform;
17 class Box3f;
18 
19 class ContourShape
20 {
21 public:
24  static void TransformedBoxContourCW(const Transform& transform, const Box3f& localBox, KyArray<Vec2f>& contour, KyFloat32 mergeDist);
25 
28  static void TransformedBoxContourCW(const Transform& transform, const Box3f& localBox, KyArray<Vec2f>& contour, KyFloat32& altMin, KyFloat32& altMax, KyFloat32 mergeDist);
29 
39  static void Init4PointsContour(const Vec2f& center, const Vec2f& side1, const Vec2f& side2, KyArray<Vec2f>& contour);
40 
50  static void Init6PointsContour(const Vec2f& center, const Vec2f& side1, const Vec2f& side2, const Vec2f& side3, KyArray<Vec2f>& contour);
51 };
52 
53 }
54 
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17
float KyFloat32
float
Definition: types.h:32