tools/NavGenProj/include/NavGenProjMirrorOptions.h Source File
Go to the documentation of this file.
9 #ifndef GwNavGen_NavGenProjMirrorOptions_H
10 #define GwNavGen_NavGenProjMirrorOptions_H
28 : m_useOneSectorPerMirroredObj(
false)
29 , m_createCellBox(
false)
33 bool Read(TiXmlNode* node)
35 for (TiXmlNode* child = node->FirstChild(); child != 0; child = child->NextSibling())
37 NavGenProj::GetParam(child,
"useOneSectorPerMirroredObj", m_useOneSectorPerMirroredObj);
38 NavGenProj::GetParam(child,
"createCellBox", m_createCellBox);
39 NavGenProj::GetParam(child,
"extentInMeters", m_extentInMeters);
41 return m_extentInMeters > 0.f;
44 bool Write(TiXmlNode* folderNode)
46 TiXmlElement* node =
new TiXmlElement(
"mirror");
47 folderNode->LinkEndChild(node);
49 NavGenProj::SetParam(node,
"useOneSectorPerMirroredObj", m_useOneSectorPerMirroredObj);
50 NavGenProj::SetParam(node,
"createCellBox", m_createCellBox);
51 NavGenProj::SetParam(node,
"extentInMeters", m_extentInMeters);
57 bool m_useOneSectorPerMirroredObj;
This class is used to store parameters if a sector must be mirrored cf.
Definition: NavGenProjMirrorOptions.h:24
Definition: gamekitcrowddispersion.h:20
float KyFloat32
Type used internally to represent a 32-bit floating-point number.
Definition: types.h:43