|
template<typename To , typename From > |
PointType< To > | graphics::point_cast (PointType< From > point) |
| Casts a point to another point type. More...
|
|
template<typename DataType > |
bool | graphics::operator== (PointType< DataType > lhs, PointType< DataType > rhs) noexcept |
|
template<typename DataType > |
bool | graphics::operator!= (PointType< DataType > lhs, PointType< DataType > rhs) noexcept |
|
template<typename DataType > |
PointType< DataType > | graphics::operator+ (PointType< DataType > lhs, PointType< DataType > rhs) noexcept |
|
template<typename DataType > |
PointType< DataType > | graphics::operator- (PointType< DataType > lhs, PointType< DataType > rhs) noexcept |
|
template<typename DataType > |
PointType< DataType > | graphics::operator* (PointType< DataType > lhs, PointType< DataType > rhs) noexcept |
|
template<typename DataType > |
PointType< DataType > | graphics::operator/ (PointType< DataType > lhs, PointType< DataType > rhs) noexcept |
|
template<typename DataType , typename ScaleType > |
PointType< DataType > | graphics::operator* (PointType< DataType > lhs, ScaleType rhs) noexcept |
|
template<typename DataType , typename ScaleType > |
PointType< DataType > | graphics::operator* (ScaleType lhs, PointType< DataType > rhs) noexcept |
|
template<typename DataType , typename ScaleType > |
PointType< DataType > | graphics::operator/ (PointType< DataType > lhs, ScaleType rhs) noexcept |
|
template<typename DataType > |
auto | graphics::DotProduct (PointType< DataType > lhs, PointType< DataType > rhs) noexcept |
| Returns the dot (inner) product between the vectors, defined by points. More...
|
|
template<typename DataType > |
auto | graphics::Norm (PointType< DataType > lhs) noexcept |
| Returns the length of a vector matching the point. More...
|
|
template<typename DataType > |
auto | graphics::Distance (PointType< DataType > lhs, PointType< DataType > rhs) noexcept |
| Returns the distance between the two points. More...
|
|
template<typename DataType > |
auto | graphics::Normalized (PointType< DataType > pt) noexcept |
| Returns a normalized vector in the direction of point. More...
|
|