Public Member Functions | Public Attributes | List of all members
lvr2::Line< BaseVecT > Struct Template Reference

A Line. More...

#include <Line.hpp>

Public Member Functions

 Line ()
 
BaseVecT project (const BaseVecT &other) const
 Projects the given point onto the line and returns the projection point. More...
 

Public Attributes

Normal< typename BaseVecT::CoordType > normal
 
BaseVecT pos
 

Detailed Description

template<typename BaseVecT>
struct lvr2::Line< BaseVecT >

A Line.

A line represented by a normal and a position vector.

Definition at line 49 of file Line.hpp.

Constructor & Destructor Documentation

◆ Line()

template<typename BaseVecT >
lvr2::Line< BaseVecT >::Line ( )
inline

Definition at line 51 of file Line.hpp.

Member Function Documentation

◆ project()

template<typename BaseVecT >
BaseVecT lvr2::Line< BaseVecT >::project ( const BaseVecT &  other) const

Projects the given point onto the line and returns the projection point.

Member Data Documentation

◆ normal

template<typename BaseVecT >
Normal<typename BaseVecT::CoordType> lvr2::Line< BaseVecT >::normal

Definition at line 53 of file Line.hpp.

◆ pos

template<typename BaseVecT >
BaseVecT lvr2::Line< BaseVecT >::pos

Definition at line 54 of file Line.hpp.


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


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:27