OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
mslang::BoundingBox2D Struct Reference

#include <BoundingBox2D.h>

Collaboration diagram for mslang::BoundingBox2D:

Public Member Functions

 BoundingBox2D ()
 BoundingBox2D (const BoundingBox2D &right)
 BoundingBox2D (const Vector_t &llc, const Vector_t &urc)
BoundingBox2Doperator= (const BoundingBox2D &)=default
bool doesIntersect (const BoundingBox2D &bb) const
bool isInside (const Vector_t &X) const
bool isInside (const BoundingBox2D &b) const
virtual void writeGnuplot (std::ostream &out) const
void print (std::ostream &out) const

Public Attributes

Vector_t center_m
double width_m
double height_m

Detailed Description

Definition at line 30 of file BoundingBox2D.h.

Constructor & Destructor Documentation

◆ BoundingBox2D() [1/3]

mslang::BoundingBox2D::BoundingBox2D ( )
inline

Definition at line 35 of file BoundingBox2D.h.

References center_m, height_m, and width_m.

Referenced by BoundingBox2D(), doesIntersect(), isInside(), and operator=().

◆ BoundingBox2D() [2/3]

mslang::BoundingBox2D::BoundingBox2D ( const BoundingBox2D & right)
inline

Definition at line 41 of file BoundingBox2D.h.

References BoundingBox2D(), center_m, height_m, and width_m.

Here is the call graph for this function:

◆ BoundingBox2D() [3/3]

mslang::BoundingBox2D::BoundingBox2D ( const Vector_t & llc,
const Vector_t & urc )
inline

Definition at line 47 of file BoundingBox2D.h.

References center_m, height_m, and width_m.

Member Function Documentation

◆ doesIntersect()

bool mslang::BoundingBox2D::doesIntersect ( const BoundingBox2D & bb) const

Definition at line 24 of file BoundingBox2D.cpp.

References BoundingBox2D(), center_m, height_m, and width_m.

Referenced by Mesher::isPotentialEdgeIntersected().

Here is the call graph for this function:

◆ isInside() [1/2]

bool mslang::BoundingBox2D::isInside ( const BoundingBox2D & b) const

Definition at line 39 of file BoundingBox2D.cpp.

References BoundingBox2D(), center_m, height_m, isInside(), and width_m.

Here is the call graph for this function:

◆ isInside() [2/2]

bool mslang::BoundingBox2D::isInside ( const Vector_t & X) const

Definition at line 31 of file BoundingBox2D.cpp.

References center_m, height_m, width_m, and X.

Referenced by isInside().

◆ operator=()

BoundingBox2D & mslang::BoundingBox2D::operator= ( const BoundingBox2D & )
default

References BoundingBox2D(), and X.

Here is the call graph for this function:

◆ print()

void mslang::BoundingBox2D::print ( std::ostream & out) const

Definition at line 62 of file BoundingBox2D.cpp.

References center_m, height_m, and width_m.

Referenced by mslang::operator<<().

◆ writeGnuplot()

void mslang::BoundingBox2D::writeGnuplot ( std::ostream & out) const
virtual

Definition at line 46 of file BoundingBox2D.cpp.

References center_m, height_m, and width_m.

Member Data Documentation

◆ center_m

◆ height_m

◆ width_m


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