OPALX (Object Oriented Parallel Accelerator Library for Exascal) MINIorX
OPALX
Triangle Class Reference
Collaboration diagram for Triangle:

Public Member Functions

 Triangle ()
 Triangle (const Vector_t< double, 3 > &v1, const Vector_t< double, 3 > &v2, const Vector_t< double, 3 > &v3)
const Vector_t< double, 3 > & v1 () const
double v1 (int i) const
const Vector_t< double, 3 > & v2 () const
double v2 (int i) const
const Vector_t< double, 3 > & v3 () const
double v3 (int i) const
void scale (const Vector_t< double, 3 > &scaleby, const Vector_t< double, 3 > &shiftby)

Public Attributes

Vector_t< double, 3 > pts [3]

Detailed Description

Definition at line 419 of file BoundaryGeometry.cpp.

Constructor & Destructor Documentation

◆ Triangle() [1/2]

Triangle::Triangle ( )
inline

Definition at line 421 of file BoundaryGeometry.cpp.

◆ Triangle() [2/2]

Triangle::Triangle ( const Vector_t< double, 3 > & v1,
const Vector_t< double, 3 > & v2,
const Vector_t< double, 3 > & v3 )
inline

Definition at line 423 of file BoundaryGeometry.cpp.

References pts, v1(), v2(), and v3().

Here is the call graph for this function:

Member Function Documentation

◆ scale()

void Triangle::scale ( const Vector_t< double, 3 > & scaleby,
const Vector_t< double, 3 > & shiftby )
inline

Definition at line 450 of file BoundaryGeometry.cpp.

References pts.

Referenced by Voxel::intersect().

Here is the caller graph for this function:

◆ v1() [1/2]

const Vector_t< double, 3 > & Triangle::v1 ( ) const
inline

Definition at line 431 of file BoundaryGeometry.cpp.

References pts.

Referenced by Triangle().

Here is the caller graph for this function:

◆ v1() [2/2]

double Triangle::v1 ( int i) const
inline

Definition at line 434 of file BoundaryGeometry.cpp.

References pts.

◆ v2() [1/2]

const Vector_t< double, 3 > & Triangle::v2 ( ) const
inline

Definition at line 437 of file BoundaryGeometry.cpp.

References pts.

Referenced by Triangle().

Here is the caller graph for this function:

◆ v2() [2/2]

double Triangle::v2 ( int i) const
inline

Definition at line 440 of file BoundaryGeometry.cpp.

References pts.

◆ v3() [1/2]

const Vector_t< double, 3 > & Triangle::v3 ( ) const
inline

Definition at line 443 of file BoundaryGeometry.cpp.

References pts.

Referenced by Triangle().

Here is the caller graph for this function:

◆ v3() [2/2]

double Triangle::v3 ( int i) const
inline

Definition at line 446 of file BoundaryGeometry.cpp.

References pts.

Member Data Documentation

◆ pts

Vector_t<double, 3> Triangle::pts[3]

Definition at line 465 of file BoundaryGeometry.cpp.

Referenced by scale(), Triangle(), v1(), v1(), v2(), v2(), v3(), and v3().


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