载入中...
搜索中...
未找到
eve::building::EdgeAddress结构体 参考

Canonical address of one grid edge. 更多...

#include <BuildingTypes.h>

Public 成员函数

bool operator== (const EdgeAddress &) const =default
 Operator ==.
 

Public 属性

int x = 0
 
int y = 0
 
EdgeAxis axis = EdgeAxis::Horizontal
 

详细描述

Canonical address of one grid edge.

Horizontal (x,y) spans vertices (x,y) to (x+1,y); vertical (x,y) spans (x,y) to (x,y+1). North/east/south/west input is normalized to this representation so the same physical edge has exactly one owner.

在文件 BuildingTypes.h 第 29 行定义.

成员函数说明

◆ operator==()

bool eve::building::EdgeAddress::operator== ( const EdgeAddress &  ) const
default

Operator ==.

类成员变量说明

◆ axis

◆ x

◆ y


该结构体的文档由以下文件生成: