#include <cuspatial/cuda_utils.hpp>
#include <cuspatial/detail/utility/floating_point.cuh>
#include <algorithm>
#include <ostream>
Go to the source code of this file.
|
template<typename T > |
| cuspatial::vec_2d (T x, T y) -> vec_2d< T > |
|
template<typename T > |
T CUSPATIAL_HOST_DEVICE | cuspatial::dot (vec_2d< T > const &a, vec_2d< T > const &b) |
| Compute dot product of two 2D vectors.
|
|
template<typename T > |
T CUSPATIAL_HOST_DEVICE | cuspatial::det (vec_2d< T > const &a, vec_2d< T > const &b) |
| Compute 2D determinant of a 2x2 matrix with column vectors a and b .
|
|
template<typename T > |
vec_2d< T > CUSPATIAL_HOST_DEVICE | cuspatial::box_min (vec_2d< T > const &a, vec_2d< T > const &b) |
| Return a new vec_2d made up of the minimum x- and y-components of two input vec_2d values.
|
|
template<typename T > |
vec_2d< T > CUSPATIAL_HOST_DEVICE | cuspatial::box_max (vec_2d< T > const &a, vec_2d< T > const &b) |
| Return a new vec_2d made up of the minimum x- and y-components of two input vec_2d values.
|
|
template<typename T > |
vec_2d< T > CUSPATIAL_HOST_DEVICE | cuspatial::midpoint (vec_2d< T > const &first, vec_2d< T > const &second) |
| Compute the midpoint of first and second .
|
|