OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
Public Member Functions | Public Attributes | List of all members
Triangle Class Reference
Collaboration diagram for Triangle:
Collaboration graph
[legend]

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 417 of file BoundaryGeometry.cpp.

Constructor & Destructor Documentation

◆ Triangle() [1/2]

Triangle::Triangle ( )
inline

Definition at line 419 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 420 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 446 of file BoundaryGeometry.cpp.

References pts.

Referenced by Voxel::intersect().

◆ v1() [1/2]

const Vector_t & Triangle::v1 ( ) const
inline

Definition at line 426 of file BoundaryGeometry.cpp.

References pts.

Referenced by Triangle().

◆ v1() [2/2]

double Triangle::v1 ( int  i) const
inline

Definition at line 429 of file BoundaryGeometry.cpp.

References pts.

◆ v2() [1/2]

const Vector_t & Triangle::v2 ( ) const
inline

Definition at line 432 of file BoundaryGeometry.cpp.

References pts.

Referenced by Triangle().

◆ v2() [2/2]

double Triangle::v2 ( int  i) const
inline

Definition at line 435 of file BoundaryGeometry.cpp.

References pts.

◆ v3() [1/2]

const Vector_t & Triangle::v3 ( ) const
inline

Definition at line 438 of file BoundaryGeometry.cpp.

References pts.

Referenced by Triangle().

◆ v3() [2/2]

double Triangle::v3 ( int  i) const
inline

Definition at line 441 of file BoundaryGeometry.cpp.

References pts.

Member Data Documentation

◆ pts

Vector_t Triangle::pts[3]

Definition at line 465 of file BoundaryGeometry.cpp.

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


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