Loading...
Searching...
No Matches
Public Types | Public Attributes | Friends | List of all members
cuspatial::box< T, Vertex > Class Template Reference

A generic axis-aligned box type. More...

#include <box.hpp>

Public Types

using value_type = T
 

Public Attributes

Vertex v1
 
Vertex v2
 

Friends

std::ostream & operator<< (std::ostream &os, cuspatial::box< T > const &b)
 Output stream operator for vec_2d<T> for human-readable formatting.
 

Detailed Description

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

A generic axis-aligned box type.

Template Parameters
Tthe base type for the coordinates
Vertexthe vector type to use for vertices, vec_2d<T> by default

Definition at line 35 of file box.hpp.

Member Typedef Documentation

◆ value_type

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

Definition at line 37 of file box.hpp.

Friends And Related Symbol Documentation

◆ operator<<

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

Output stream operator for vec_2d<T> for human-readable formatting.

Definition at line 45 of file box.hpp.

Member Data Documentation

◆ v1

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

Definition at line 38 of file box.hpp.

◆ v2

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

Definition at line 39 of file box.hpp.


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