RobinTrace
src
poaky
src
base
Vec2.h
Go to the documentation of this file.
1
2
#ifndef VEC2_H
3
#define VEC2_H
4
5
#include <Eigen/Dense>
6
#include <iostream>
7
#include "
Vec3.h
"
8
10
typedef
Eigen::Vector2d
Vec2
;
11
13
Vec3
Vec2_to_Vec3
(
const
Vec2
&v);
14
16
std::ostream&
operator<<
(std::ostream &out,
const
Vec2
&v);
17
18
#endif
// VEC2_H
Vec2_to_Vec3
Vec3 Vec2_to_Vec3(const Vec2 &v)
Vec2 to Vec3 conversion.
Definition:
Vec2.cpp:4
operator<<
std::ostream & operator<<(std::ostream &out, const Vec2 &v)
Vec2 printer.
Definition:
Vec2.cpp:8
Vec2
Eigen::Vector2d Vec2
A 2D vector.
Definition:
Vec2.h:10
Vec3.h
Vec3
Eigen::Vector3d Vec3
Definition:
Vec3.h:11
Generated by
1.9.1