MVE - Multi-View Environment mve-devel
Loading...
Searching...
No Matches
line.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2015, Simon Fuhrmann
3 * TU Darmstadt - Graphics, Capture and Massively Parallel Computing
4 * All rights reserved.
5 *
6 * This software may be modified and distributed under the terms
7 * of the BSD 3-Clause license. See the LICENSE.txt file for details.
8 */
9
10#ifndef MATH_LINE_HEADER
11#define MATH_LINE_HEADER
12
13#include "math/defines.h"
14#include "math/vector.h"
15
17
18template <class T> class Line3;
21
26template <class T>
27class Line3
28{
29public:
31 Line3 (void);
32
34 Line3 (math::Vector<T, 3> const& d, math::Vector<T, 3> const& p);
35
36public:
39};
40
41/* ---------------------------------------------------------------- */
42
43template <class T>
44inline
46{
47}
48
49template <class T>
50inline
52 : d(d), p(p)
53{
54}
55
57
58#endif /* MATH_LINE_HEADER */
Class that represents a line using a point and a vector.
Definition line.h:28
math::Vector< T, 3 > d
Definition line.h:37
math::Vector< T, 3 > p
Definition line.h:38
Vector class for arbitrary dimensions and types.
Definition vector.h:87
#define MATH_NAMESPACE_BEGIN
Definition defines.h:15
#define MATH_NAMESPACE_END
Definition defines.h:16