dl
dl::Math::RingX::MapLimit类 参考

地图限制器(x轴为环状) 更多...

#include <dl_math.h>

Public 成员函数

void SetSize (const Size &size)
 设置大小
 
bool Left (PointU &xy)
 传入越界,但返回合法,也会返回true
 
bool Right (PointU &xy)
 
bool Top (PointU &xy)
 
bool Bottom (PointU &xy)
 
bool LeftTop (PointU &xy)
 
bool LeftBottom (PointU &xy)
 
bool RightTop (PointU &xy)
 
bool RightBottom (PointU &xy)
 
bool CheckVaild (const PointU &xy)
 
bool CheckVaildX (const PointU &xy)
 
bool CheckVaildY (const PointU &xy)
 

详细描述

地图限制器(x轴为环状)

在文件 dl_math.h1183 行定义.

成员函数说明

◆ Bottom()

bool dl::Math::RingX::MapLimit::Bottom ( PointU & xy)
inline

在文件 dl_math.h1232 行定义.

◆ CheckVaild()

bool dl::Math::RingX::MapLimit::CheckVaild ( const PointU & xy)
inline

在文件 dl_math.h1265 行定义.

◆ CheckVaildX()

bool dl::Math::RingX::MapLimit::CheckVaildX ( const PointU & xy)
inline

在文件 dl_math.h1269 行定义.

◆ CheckVaildY()

bool dl::Math::RingX::MapLimit::CheckVaildY ( const PointU & xy)
inline

在文件 dl_math.h1273 行定义.

◆ Left()

bool dl::Math::RingX::MapLimit::Left ( PointU & xy)
inline

传入越界,但返回合法,也会返回true

在文件 dl_math.h1194 行定义.

◆ LeftBottom()

bool dl::Math::RingX::MapLimit::LeftBottom ( PointU & xy)
inline

在文件 dl_math.h1247 行定义.

◆ LeftTop()

bool dl::Math::RingX::MapLimit::LeftTop ( PointU & xy)
inline

在文件 dl_math.h1241 行定义.

◆ Right()

bool dl::Math::RingX::MapLimit::Right ( PointU & xy)
inline

在文件 dl_math.h1208 行定义.

◆ RightBottom()

bool dl::Math::RingX::MapLimit::RightBottom ( PointU & xy)
inline

在文件 dl_math.h1259 行定义.

◆ RightTop()

bool dl::Math::RingX::MapLimit::RightTop ( PointU & xy)
inline

在文件 dl_math.h1253 行定义.

◆ SetSize()

void dl::Math::RingX::MapLimit::SetSize ( const Size & size)
inline

设置大小

在文件 dl_math.h1187 行定义.

◆ Top()

bool dl::Math::RingX::MapLimit::Top ( PointU & xy)
inline

在文件 dl_math.h1221 行定义.


该类的文档由以下文件生成: