ESyS-Particle  2.3.4
Line Class Reference

Class representing a line. More...

#include <Line.h>

Inheritance diagram for Line:
Collaboration diagram for Line:

Public Member Functions

 Line (const Vec3 &, const Vec3 &)
 
virtual ~Line ()
 
Vec3 GetU () const
 
Vec3 GetO () const
 
Vec3 GetN () const
 
virtual double sep (const Vec3 &)
 

Protected Member Functions

 Line ()
 

Protected Attributes

Vec3 Pos
 
Vec3 U
 
Vec3 N
 

Detailed Description

Class representing a line.

Author
Steffen Abe

Constructor & Destructor Documentation

◆ Line() [1/2]

Line::Line ( )
protected

protected empty constructor -> for use by derived classes (i.e. LineSegment) only

◆ Line() [2/2]

Line::Line ( const Vec3 D,
const Vec3 P 
)

References N, Pos, U, Vec3::X(), Vec3::Y(), and Vec3::Z().

Here is the call graph for this function:

◆ ~Line()

virtual Line::~Line ( )
inlinevirtual

Member Function Documentation

◆ GetN()

Vec3 Line::GetN ( ) const
inline

References N.

◆ GetO()

Vec3 Line::GetO ( ) const
inline

References Pos.

Referenced by ARandomAssembly2D::findAFit().

Here is the caller graph for this function:

◆ GetU()

Vec3 Line::GetU ( ) const
inline

References U.

Referenced by ARandomAssembly2D::findAFit().

Here is the caller graph for this function:

◆ sep()

double Line::sep ( const Vec3 M)
virtual

Reimplemented in LineSegment.

References N, and Pos.

Referenced by ARandomAssembly2D::checkAFit(), ARandomAssembly2D::fillSpace(), and FaultedBlock2D::getClosestPlane().

Here is the caller graph for this function:

Member Data Documentation

◆ N

Vec3 Line::N
protected

◆ Pos

◆ U


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