载入中...
搜索中...
未找到
eve::procgen::urban::Vec2结构体 参考
Minimal 2D vector used by the urban layout algorithms (paper coordinates). 更多...
#include <UrbanTypes.h>
Public 成员函数 | |
| Vec2 | operator+ (const Vec2 &o) const |
| Operator +. | |
| Vec2 | operator- (const Vec2 &o) const |
| Operator -. | |
| Vec2 | operator* (double s) const |
| Operator *. | |
| Vec2 | operator/ (double s) const |
| Operator /. | |
| Vec2 | operator- () const |
| Operator -. | |
| bool | operator== (const Vec2 &o) const |
| Operator ==. | |
| bool | operator!= (const Vec2 &o) const |
| Operator !=. | |
Public 属性 | |
| double | x = 0.0 |
| double | y = 0.0 |
详细描述
Minimal 2D vector used by the urban layout algorithms (paper coordinates).
在文件 UrbanTypes.h 第 15 行定义.
成员函数说明
◆ operator!=()
|
inline |
Operator !=.
在文件 UrbanTypes.h 第 32 行定义.
◆ operator*()
|
inline |
◆ operator+()
◆ operator-() [1/2]
|
inline |
◆ operator-() [2/2]
◆ operator/()
|
inline |
◆ operator==()
|
inline |
类成员变量说明
◆ x
| double eve::procgen::urban::Vec2::x = 0.0 |
在文件 UrbanTypes.h 第 16 行定义.
被这些函数引用 operator*(), operator+(), operator-(), operator-(), operator/() , 以及 operator==().
◆ y
| double eve::procgen::urban::Vec2::y = 0.0 |
在文件 UrbanTypes.h 第 17 行定义.
被这些函数引用 operator*(), operator+(), operator-(), operator-(), operator/(), operator==() , 以及 eve::procgen::urban::perpendicular().
该结构体的文档由以下文件生成:
- src/modules/procgen/urban/UrbanTypes.h