TBTK
TBTK::ParametrizedLine3d Class Reference

#include <ParametrizedLine3d.h>

Inheritance diagram for TBTK::ParametrizedLine3d:
TBTK::Field< Vector3d, double >

Public Member Functions

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

Detailed Description

ParametrizedLine3d is a parametrized line of the form start + lambda*direction, where start and direction are three-dimensional vectors (Vector3d), while lambda is a free parameter.

Constructor & Destructor Documentation

◆ ParametrizedLine3d()

TBTK::ParametrizedLine3d::ParametrizedLine3d ( const Vector3d start,
const Vector3d direction 
)

Constructor.

Member Function Documentation

◆ operator()() [1/2]

virtual Vector3d TBTK::ParametrizedLine3d::operator() ( std::initializer_list< double >  lambda) const
virtual

Implements Field::operator().

Implements TBTK::Field< Vector3d, double >.

◆ operator()() [2/2]

const Vector3d TBTK::ParametrizedLine3d::operator() ( double  lambda) const
inline

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


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