OPAL (Object Oriented Parallel Accelerator Library) 2024.2
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_t & v1 () const
 
double v1 (int i) const
 
const Vector_t & v2 () const
 
double v2 (int i) const
 
const Vector_t & v3 () 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 416 of file BoundaryGeometry.cpp.

Constructor & Destructor Documentation

◆ Triangle() [1/2]

Triangle::Triangle ( )
inline

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

References pts.

Referenced by Voxel::intersect().

◆ v1() [1/2]

const Vector_t & Triangle::v1 ( ) const
inline

Definition at line 425 of file BoundaryGeometry.cpp.

References pts.

Referenced by Triangle().

◆ v1() [2/2]

double Triangle::v1 ( int  i) const
inline

Definition at line 428 of file BoundaryGeometry.cpp.

References pts.

◆ v2() [1/2]

const Vector_t & Triangle::v2 ( ) const
inline

Definition at line 431 of file BoundaryGeometry.cpp.

References pts.

Referenced by Triangle().

◆ v2() [2/2]

double Triangle::v2 ( int  i) const
inline

Definition at line 434 of file BoundaryGeometry.cpp.

References pts.

◆ v3() [1/2]

const Vector_t & Triangle::v3 ( ) const
inline

Definition at line 437 of file BoundaryGeometry.cpp.

References pts.

Referenced by Triangle().

◆ v3() [2/2]

double Triangle::v3 ( int  i) const
inline

Definition at line 440 of file BoundaryGeometry.cpp.

References pts.

Member Data Documentation

◆ pts

Vector_t Triangle::pts[3]

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