|
dl
|
#include <dl_vector2.h>
Public 成员函数 | |
| Vector2 () | |
| 空构造 | |
| Vector2 (const Size &size) | |
| 以指定大小构造 | |
| Vector2 (const Size &size, const T *p) | |
| 以指定大小构造,并传入指针赋值初始化 | |
| Vector2 (const Vector2 &b) | |
| 复制构造 todo | |
| void | Resize (const Size &size) |
| 调整为指定大小 | |
| std::span< T > | operator[] (std::size_t j) |
| 返回第j行 | |
| const std::span< T > | operator[] (std::size_t j) const |
| 返回第j行 | |
| const T & | Get (size_t j, size_t i) const |
| 返回第j行 第i个 | |
| T & | GetRef (size_t j, size_t i) |
| T * | GetPointer (size_t j, size_t i) |
| 返回元素地址,失败返回空 | |
| T * | GetPointer (const SizeT &xy) |
| void | Set (size_t j, size_t i, const T &v) |
| void | Fill (const T &v) |
| 填充值 | |
| void | PushBack (std::vector< T > &vec) |
| 插入行 | |
| bool | IsEmpty () const |
| const std::byte * | GetBuffer () const |
| T * | GetData () |
| const T * | GetData () const |
| unsigned | GetWidth () const |
| unsigned | GetHeight () const |
| Size | GetSize () const |
| unsigned | GetSizeMul () const |
| size_t | GetSizeByte () |
| auto | begin () |
| auto | end () |
静态 Public 成员函数 | |
| static Vector2 | RotateRightAngle1 (const Vector2 &v) |
在文件 dl_vector2.h 第 29 行定义.
|
inline |
空构造
在文件 dl_vector2.h 第 35 行定义.
|
inline |
以指定大小构造
在文件 dl_vector2.h 第 42 行定义.
|
inline |
以指定大小构造,并传入指针赋值初始化
在文件 dl_vector2.h 第 50 行定义.
|
inline |
复制构造 todo
在文件 dl_vector2.h 第 62 行定义.
|
inline |
在文件 dl_vector2.h 第 204 行定义.
|
inline |
在文件 dl_vector2.h 第 208 行定义.
|
inline |
填充值
在文件 dl_vector2.h 第 143 行定义.
|
inline |
|
inline |
在文件 dl_vector2.h 第 163 行定义.
|
inline |
在文件 dl_vector2.h 第 168 行定义.
|
inline |
在文件 dl_vector2.h 第 173 行定义.
|
inline |
在文件 dl_vector2.h 第 183 行定义.
|
inline |
在文件 dl_vector2.h 第 128 行定义.
|
inline |
返回元素地址,失败返回空
在文件 dl_vector2.h 第 121 行定义.
|
inline |
在文件 dl_vector2.h 第 112 行定义.
|
inline |
在文件 dl_vector2.h 第 188 行定义.
|
inline |
在文件 dl_vector2.h 第 199 行定义.
|
inline |
在文件 dl_vector2.h 第 194 行定义.
|
inline |
在文件 dl_vector2.h 第 178 行定义.
|
inline |
在文件 dl_vector2.h 第 161 行定义.
|
inline |
返回第j行
在文件 dl_vector2.h 第 81 行定义.
|
inline |
返回第j行
在文件 dl_vector2.h 第 89 行定义.
|
inline |
|
inline |
|
inlinestatic |
在文件 dl_vector2.h 第 213 行定义.
|
inline |
在文件 dl_vector2.h 第 133 行定义.