PLaSK library
|
Holds BoundaryNodeSetImpl and delegate all calls to it. More...
#include <plask/mesh/boundary.hpp>
Public Types | |
typedef BoundaryNodeSetImpl::const_iterator | const_iterator |
typedef BoundaryNodeSetImpl::iterator | iterator |
Public Member Functions | |
BoundaryNodeSet (const BoundaryNodeSetImpl *to_hold=nullptr) | |
Construct a boundary which holds given boundary logic. | |
virtual | ~BoundaryNodeSet () |
bool | contains (std::size_t mesh_index) const |
Check if boundary contains point with given index. | |
const_iterator | begin () const |
Get begin iterator over boundary points. | |
const_iterator | end () const |
Get end iterator over boundary points. | |
std::size_t | size () const |
Get number of points in this boundary. | |
virtual bool | empty () const |
Check if boundary represents empty set of indexes. | |
Public Member Functions inherited from plask::HolderRef< const BoundaryNodeSetImpl > | |
HolderRef () | |
HolderRef (const BoundaryNodeSetImpl *held) | |
Construct a holder with given held object. | |
bool | isNotNull () const |
bool | isNull () const |
void | reset (const BoundaryNodeSetImpl *new_held) |
Additional Inherited Members | |
Protected Attributes inherited from plask::HolderRef< const BoundaryNodeSetImpl > | |
shared_ptr< const BoundaryNodeSetImpl > | held |
Hold object. Typically can be nullptr only after move assignment. | |
Holds BoundaryNodeSetImpl and delegate all calls to it.
Definition at line 195 of file boundary.hpp.
Definition at line 197 of file boundary.hpp.
Definition at line 198 of file boundary.hpp.
|
inline |
Construct a boundary which holds given boundary logic.
to_hold | pointer to object which describe boundary logic |
Definition at line 204 of file boundary.hpp.
|
inlinevirtual |
Definition at line 206 of file boundary.hpp.
|
inline |
Get begin iterator over boundary points.
Definition at line 221 of file boundary.hpp.
|
inline |
Check if boundary contains point with given index.
mesh_index | valid index of point in mesh |
true
only if point with index mesh_index
in mesh
lies on boundary Definition at line 213 of file boundary.hpp.
Check if boundary represents empty set of indexes.
true
only if this represents empty set of indexes Definition at line 245 of file boundary.hpp.
|
inline |
Get end iterator over boundary points.
Definition at line 229 of file boundary.hpp.
|
inline |
Get number of points in this boundary.
Definition at line 237 of file boundary.hpp.