FastTileDatabase
轻量级高性能瓦片地图数据库
|
定义二维坐标点 More...
Public Member Functions | |
MeFTDPoint2D ()=default | |
默认构造函数 More... | |
MeFTDPoint2D (T nX, T nY) | |
通过传入 X,Y直接构建对象 More... | |
virtual MeFTDPoint2D | operator= (const MeFTDPoint2D &other) |
virtual bool | operator== (const MeFTDPoint2D< T > &other) const |
比较当前坐标点是否与 other 一致 More... | |
void | setX (T nX) |
设置 X More... | |
void | setY (T nY) |
设置 Y More... | |
T | x () const |
返回坐标点的 X More... | |
T | y () const |
返回坐标点的 Y More... | |
Protected Attributes | |
T | mX = 0 |
T | mY = 0 |
定义二维坐标点
|
default |
默认构造函数
|
inline |
通过传入 X,Y直接构建对象
[in] | nX | X坐标 |
[in] | nY | Y坐标 |
|
inlinevirtual |
|
inlinevirtual |
比较当前坐标点是否与 other 一致
[in] | other | 另一个坐标点 |
|
inline |
设置 X
[in] | nX | 坐标X |
|
inline |
设置 Y
[in] | nY | 坐标Y |
|
inline |
返回坐标点的 X
|
inline |
返回坐标点的 Y
|
protected |
|
protected |