加载中...
搜索中...
无匹配项
cuspatial::box< T, Vertex > 类模板参考

一个通用的轴对齐盒类型。更多...

#include <box.hpp>

公有类型

using value_type = T
 

公有属性

Vertex v1
 
Vertex v2
 

友元

std::ostream & operator<< (std::ostream &os, cuspatial::box< T, Vertex > const &b)
 `box` 的输出流运算符,用于人类可读的格式化。
 

详细描述

template<typename T, typename Vertex = cuspatial::vec_2d<T>>
class cuspatial::box< T, Vertex >

一个通用的轴对齐盒类型。

模板参数
T坐标的基础类型
Vertex用于顶点的向量类型,vec_2d<T> 为默认值

定义于文件 box.hpp 的 第 35 行。

成员类型别名文档

◆ value_type

template<typename T, typename Vertex = cuspatial::vec_2d<T>>
using cuspatial::box< T, Vertex >::value_type = T

定义于文件 box.hpp 的 第 37 行。

友元和相关符号文档

◆ operator<<

template<typename T, typename Vertex = cuspatial::vec_2d<T>>
std::ostream & operator<< ( std::ostream & os,
cuspatial::box< T, Vertex > const & b )
friend

`box` 的输出流运算符,用于人类可读的格式化。

定义于文件 box.hpp 的 第 45 行。

成员数据文档

◆ v1

template<typename T, typename Vertex = cuspatial::vec_2d<T>>
Vertex cuspatial::box< T, Vertex >::v1

定义于文件 box.hpp 的 第 38 行。

◆ v2

template<typename T, typename Vertex = cuspatial::vec_2d<T>>
Vertex cuspatial::box< T, Vertex >::v2

定义于文件 box.hpp 的 第 39 行。


此类的文档由以下文件生成