Thermal Camera SDK 11.3.0
SDK for Optris Thermal Cameras
Loading...
Searching...
No Matches
Vector.h File Reference

Contains a class for a generic 2D vector. More...

#include <ostream>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  optris::Vector2< T >
 Generic 2D vector structure. More...
 

Namespaces

namespace  optris
 Main SDK namespace.
 

Typedefs

using optris::Vector2f = Vector2<float>
 Alias for a 2D vector with float components.
 
using optris::Vector2i = Vector2<int>
 Alias for a 2D vector with integer components.
 

Functions

template<typename T>
bool optris::operator== (const Vector2< T > &lhs, const Vector2< T > &rhs) noexcept
 Checks if two vectors are equal.
 
template<typename T>
bool optris::operator!= (const Vector2< T > &lhs, const Vector2< T > &rhs) noexcept
 Checks if two vectors are unequal.
 
template<typename T>
Vector2< T > optris::operator+ (const Vector2< T > &lhs, const Vector2< T > &rhs) noexcept
 Adds two vectors together.
 
template<typename T>
Vector2< T > optris::operator- (const Vector2< T > &lhs, const Vector2< T > &rhs) noexcept
 Subtracts two vectors.
 
template<typename T>
std::ostream & optris::operator<< (std::ostream &out, const Vector2< T > &vector) noexcept
 Ouput stream operator for vectors.
 

Detailed Description

Contains a class for a generic 2D vector.

Author
Optris GmbH & Co. KG
Date
2026-02-03