TBTK
TBTK::ParametrizedLine Class Reference

#include <ParametrizedLine.h>

Inheritance diagram for TBTK::ParametrizedLine:
TBTK::Field< std::vector< double >, double >

Public Member Functions

 ParametrizedLine (std::initializer_list< double > start, std::initializer_list< double > direction)
 
 ParametrizedLine (const std::vector< double > &start, const std::vector< double > &direction)
 
virtual std::vector< double > operator() (std::initializer_list< double > lambda) const
 
const std::vector< double > operator() (double lambda) const
 
- Public Member Functions inherited from TBTK::Field< std::vector< double >, double >
 Field (bool isCompact=false)
 
bool getIsCompact () const
 
virtual const std::vector< double > & getCoordinates () const
 
virtual double getExtent () const
 

Detailed Description

ParametrizedLine is a parametrized line of the form start + lambda*direction, where start and direction are n-dimensional vectors, while lambda is a free parameter.

Constructor & Destructor Documentation

TBTK::ParametrizedLine::ParametrizedLine ( std::initializer_list< double >  start,
std::initializer_list< double >  direction 
)

Constructor.

TBTK::ParametrizedLine::ParametrizedLine ( const std::vector< double > &  start,
const std::vector< double > &  direction 
)

Constructor.

Member Function Documentation

virtual std::vector<double> TBTK::ParametrizedLine::operator() ( std::initializer_list< double >  lambda) const
virtual

Implements Field::operator().

Implements TBTK::Field< std::vector< double >, double >.

const std::vector< double > TBTK::ParametrizedLine::operator() ( double  lambda) const
inline

Mnemoic for operator()(std::initializer_list<double> &lambda).


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