gwnavgeneration/raster/rasterpoint.h Source File

rasterpoint.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 
10 
11 // primary contact: GUAL - secondary contact: NOBODY
12 #ifndef GwNavGen_RasterPoint_H
13 #define GwNavGen_RasterPoint_H
14 
15 
16 
19 
20 namespace Kaim
21 {
22 
23 
24 class RasterPoint : public Vec2i
25 {
26 public:
27  RasterPoint() : meter_z(0.0f) {}
28 
29  void Set(const Vec2i& v, KyFloat32 _meter_z)
30  {
31  x = v.x;
32  y = v.y;
33  meter_z = _meter_z;
34  }
35 
36 public:
37  KyFloat32 meter_z;
38 };
39 
40 
41 }
42 
43 
44 #endif
void Set(KyInt32 _x, KyInt32 _y)
Sets the coordinates of the vector to match the specified values.
Definition: vec2i.h:54
KyInt32 x
The size of the vector along the X axis.
Definition: vec2i.h:283
KyInt32 y
The size of the vector along the Y axis.
Definition: vec2i.h:284
Definition: gamekitcrowddispersion.h:20
float KyFloat32
Type used internally to represent a 32-bit floating-point number.
Definition: types.h:43