RobinTrace
Typedefs | Functions
Vec2.h File Reference
#include <Eigen/Dense>
#include <iostream>
#include "Vec3.h"
Include dependency graph for Vec2.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef Eigen::Vector2d Vec2
 A 2D vector.
 

Functions

Vec3 Vec2_to_Vec3 (const Vec2 &v)
 Vec2 to Vec3 conversion. More...
 
std::ostream & operator<< (std::ostream &out, const Vec2 &v)
 Vec2 printer.
 

Function Documentation

◆ Vec2_to_Vec3()

Vec3 Vec2_to_Vec3 ( const Vec2 v)

Vec2 to Vec3 conversion.

The last component of the output Vec3 is set to zero.