Ocean
Loading...
Searching...
No Matches
Vector2.h File Reference

Go to the source code of this file.

Data Structures

class  Ocean::VectorT2< T >
 This class implements a vector with two elements. More...

Namespaces

namespace  Ocean
 The namespace covering the entire Ocean framework.

Typedefs

using Ocean::Vector2 = VectorT2<Scalar>
 Definition of a 2D vector.
using Ocean::VectorD2 = VectorT2<double>
 Definition of a 2D vector with double values.
using Ocean::VectorF2 = VectorT2<float>
 Definition of a 2D vector with float values.
using Ocean::VectorI2 = VectorT2<int>
 Definition of a 2D vector with integer values.
template<typename T>
using Ocean::VectorsT2 = std::vector<VectorT2<T>>
 Definition of a typename alias for vectors with VectorT2 objects.
using Ocean::Vectors2 = std::vector<Vector2>
 Definition of a vector holding Vector2 objects.
using Ocean::VectorsD2 = std::vector<VectorD2>
 Definition of a vector holding VectorD2 objects.
using Ocean::VectorsF2 = std::vector<VectorF2>
 Definition of a vector holding VectorF2 objects.
using Ocean::VectorsI2 = std::vector<VectorI2>
 Definition of a vector holding VectorI2 objects.

Functions

template<typename T>
std::ostream & Ocean::operator<< (std::ostream &stream, const VectorT2< T > &vector)
template<bool tActive, typename T>
MessageObject< tActive > & Ocean::operator<< (MessageObject< tActive > &messageObject, const VectorT2< T > &vector)
template<bool tActive, typename T>
MessageObject< tActive > & Ocean::operator<< (MessageObject< tActive > &&messageObject, const VectorT2< T > &vector)