MVE - Multi-View Environment mve-devel
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
math::Line3< T > Class Template Reference

Class that represents a line using a point and a vector. More...

#include <line.h>

Collaboration diagram for math::Line3< T >:
Collaboration graph
[legend]

Public Member Functions

 Line3 (math::Vector< T, 3 > const &d, math::Vector< T, 3 > const &p)
 Creates a line with normal n and distance d from the origin.
 
 Line3 (void)
 Creates an uninitialized line.
 

Public Attributes

math::Vector< T, 3 > d
 
math::Vector< T, 3 > p
 

Detailed Description

template<class T>
class math::Line3< T >

Class that represents a line using a point and a vector.

The normal is expected to have unit length.

Definition at line 27 of file line.h.

Constructor & Destructor Documentation

◆ Line3() [1/2]

template<class T >
math::Line3< T >::Line3 ( void  )
inline

Creates an uninitialized line.

Definition at line 45 of file line.h.

◆ Line3() [2/2]

template<class T >
math::Line3< T >::Line3 ( math::Vector< T, 3 > const &  d,
math::Vector< T, 3 > const &  p 
)
inline

Creates a line with normal n and distance d from the origin.

Definition at line 51 of file line.h.

Member Data Documentation

◆ d

template<class T >
math::Vector<T, 3> math::Line3< T >::d

Definition at line 37 of file line.h.

◆ p

template<class T >
math::Vector<T, 3> math::Line3< T >::p

Definition at line 38 of file line.h.


The documentation for this class was generated from the following file: