载入中...
搜索中...
未找到
HexSphereTopology.h 文件参考

Icosahedral hex topology: twelve pentagons and hexagons on a sphere. 更多...

#include "common/Export.h"
#include "common/Result.h"
#include "hexmap/HexMetrics.h"
#include <cstdint>
#include <vector>

浏览源代码.

类

class  eve::hexmap::HexSphereTopology
 Icosahedral (Goldberg) hex topology for a spherical hex map. 更多...
 

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::hexmap
 

类型定义

using eve::hexmap::HexSphereCell = std::int32_t
 Dense identifier of one cell of a spherical hex topology.
 

变量

constexpr HexSphereCell eve::hexmap::kNoHexSphereCell = -1
 Returned by a spherical cell query that has no answer.
 
constexpr std::int32_t eve::hexmap::kMaxHexSphereSubdivision = 7
 Largest supported subdivision level; 10 * 4^7 + 2 = 163842 cells.
 

详细描述

Icosahedral hex topology: twelve pentagons and hexagons on a sphere.

在文件 HexSphereTopology.h 中定义.