OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
Triangle Class Reference
Collaboration diagram for Triangle:

Public Member Functions

 Triangle ()
 Triangle (const Vector_t &v1, const Vector_t &v2, const Vector_t &v3)
const Vector_tv1 () const
double v1 (int i) const
const Vector_tv2 () const
double v2 (int i) const
const Vector_tv3 () const
double v3 (int i) const
void scale (const Vector_t &scaleby, const Vector_t &shiftby)

Public Attributes

Vector_t pts [3]

Detailed Description

Definition at line 418 of file BoundaryGeometry.cpp.

Constructor & Destructor Documentation

◆ Triangle() [1/2]

Triangle::Triangle ( )
inline

Definition at line 420 of file BoundaryGeometry.cpp.

◆ Triangle() [2/2]

Triangle::Triangle ( const Vector_t & v1,
const Vector_t & v2,
const Vector_t & v3 )
inline

Definition at line 421 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 & scaleby,
const Vector_t & shiftby )
inline

Definition at line 447 of file BoundaryGeometry.cpp.

References pts.

Referenced by Voxel::intersect().

◆ v1() [1/2]

const Vector_t & Triangle::v1 ( ) const
inline

Definition at line 427 of file BoundaryGeometry.cpp.

References pts.

Referenced by Triangle().

◆ v1() [2/2]

double Triangle::v1 ( int i) const
inline

Definition at line 430 of file BoundaryGeometry.cpp.

References pts.

◆ v2() [1/2]

const Vector_t & Triangle::v2 ( ) const
inline

Definition at line 433 of file BoundaryGeometry.cpp.

References pts.

Referenced by Triangle().

◆ v2() [2/2]

double Triangle::v2 ( int i) const
inline

Definition at line 436 of file BoundaryGeometry.cpp.

References pts.

◆ v3() [1/2]

const Vector_t & Triangle::v3 ( ) const
inline

Definition at line 439 of file BoundaryGeometry.cpp.

References pts.

Referenced by Triangle().

◆ v3() [2/2]

double Triangle::v3 ( int i) const
inline

Definition at line 442 of file BoundaryGeometry.cpp.

References pts.

Member Data Documentation

◆ pts

Vector_t Triangle::pts[3]

Definition at line 466 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: