List of all members | Public Member Functions | Private Attributes
utl::Line Class Reference

#include <utl/Line.h>

Public Member Functions

const PointGetAnchor () const
 
const VectorGetDirection () const
 
Plane GetPerpendicularPlane () const
 
Plane GetPerpendicularPlane (const Point &anchor) const
 
 Line (const Point &anchor, const Vector &direction)
 
Point Propagate (const double s) const
 

Private Attributes

Point fAnchor
 
Vector fDirection
 

Detailed Description

Author
Darko Veberic

Definition at line 17 of file Line.h.

Constructor & Destructor Documentation

Line::Line ( const Point anchor,
const Vector direction 
)

Definition at line 10 of file Line.cc.

References ERROR, fDirection, utl::Vector::GetMag2(), and sqrt().

Member Function Documentation

const Point& utl::Line::GetAnchor ( ) const
inline
const Vector& utl::Line::GetDirection ( ) const
inline
Plane utl::Line::GetPerpendicularPlane ( ) const
inline

Definition at line 24 of file Line.h.

References fAnchor, fDirection, and TelescopeSimulatorKG::RTFunctions::Plane().

Plane utl::Line::GetPerpendicularPlane ( const Point anchor) const
inline

Definition at line 26 of file Line.h.

References fDirection, and TelescopeSimulatorKG::RTFunctions::Plane().

Point utl::Line::Propagate ( const double  s) const
inline

Definition at line 29 of file Line.h.

References fAnchor, and fDirection.

Referenced by sdet::Station::IsHit().

Member Data Documentation

Point utl::Line::fAnchor
private

Definition at line 33 of file Line.h.

Referenced by GetAnchor(), GetPerpendicularPlane(), and Propagate().

Vector utl::Line::fDirection
private

Definition at line 34 of file Line.h.

Referenced by GetDirection(), GetPerpendicularPlane(), Line(), and Propagate().


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

, generated on Tue Sep 26 2023.