FastTileDatabase
轻量级高性能瓦片地图数据库
Loading...
Searching...
No Matches
MapEdges::MeFTDTileExtent Struct Reference

瓦片坐标范围,在FTD中瓦片坐标永远定义为从 0 开始 More...

Public Member Functions

bool operator== (const MeFTDTileExtent &other) const
 
bool isValid () const
 返回瓦片坐标范是否有效 More...
 
int width () const
 返回瓦片坐标范围横向瓦片数量 More...
 
int height () const
 返回瓦片坐标范围纵向瓦片数量 More...
 
long long count () const
 返回瓦片总量 More...
 
 MeFTDTileExtent ()=default
 

Public Attributes

MeFTDTileKey TopLeft
 
MeFTDTileKey BottomRight
 

Detailed Description

瓦片坐标范围,在FTD中瓦片坐标永远定义为从 0 开始

瓦片坐标反应的是瓦片的左上角。

Constructor & Destructor Documentation

◆ MeFTDTileExtent()

MapEdges::MeFTDTileExtent::MeFTDTileExtent ( )
default

Member Function Documentation

◆ count()

long long MapEdges::MeFTDTileExtent::count ( ) const
inline

返回瓦片总量

Returns
瓦片数量

◆ height()

int MapEdges::MeFTDTileExtent::height ( ) const
inline

返回瓦片坐标范围纵向瓦片数量

Returns
瓦片数量

◆ isValid()

bool MapEdges::MeFTDTileExtent::isValid ( ) const
inline

返回瓦片坐标范是否有效

Returns
有效返回true,其他情况返回false

◆ operator==()

bool MapEdges::MeFTDTileExtent::operator== ( const MeFTDTileExtent other) const
inline

◆ width()

int MapEdges::MeFTDTileExtent::width ( ) const
inline

返回瓦片坐标范围横向瓦片数量

Returns
瓦片数量

Member Data Documentation

◆ BottomRight

MeFTDTileKey MapEdges::MeFTDTileExtent::BottomRight

◆ TopLeft

MeFTDTileKey MapEdges::MeFTDTileExtent::TopLeft

The documentation for this struct was generated from the following file: