IPlane handles the indices of a critallographic plane.
More...
#include </home/runner/work/tfel/tfel/include/NUMODIS/IPlane.hxx>
|
|
using | size_type = std::vector<int>::size_type |
|
|
| IPlane (IPlane &&) noexcept |
|
| IPlane (const IPlane &) |
|
IPlane & | operator= (const IPlane &rhs) |
| | IPlane (const unsigned nindices=3) |
| | Constructor.
|
| | IPlane (const std::vector< int > &iplane) |
| | Constructor.
|
| void | setIPlane (const std::vector< int > &iplane) |
| | set the index of the glide plane
|
| void | getIndex (std::vector< int > &pln) const |
| | Return the index of the plane.
|
| const std::vector< int > & | getIndex () const |
| | Return the index of the plane.
|
| int | operator[] (const size_type i) const |
| | Return iplane[i].
|
|
int & | operator[] (const size_type i) |
| long unsigned int | getNindices () const |
| | Return the number of indices of the plane.
|
| bool | IsNull () const |
| | Are the indices of the plane all zero?
|
|
|
std::vector< int > | _index |
| | index of the glide plane
|
|
|
TFELNUMODIS_VISIBILITY_FRIEND_EXPORT friend std::ostream & | operator<< (std::ostream &os, const IPlane &iplane) |
|
TFELNUMODIS_VISIBILITY_FRIEND_EXPORT friend bool | operator== (const IPlane &lhs, const IPlane &rhs) |
|
TFELNUMODIS_VISIBILITY_FRIEND_EXPORT friend bool | operator!= (const IPlane &lhs, const IPlane &rhs) |
|
TFELNUMODIS_VISIBILITY_FRIEND_EXPORT friend bool | operator< (const IPlane &lhs, const IPlane &rhs) |
|
TFELNUMODIS_VISIBILITY_FRIEND_EXPORT friend int | PlaneCoincide (const IPlane &lhs, const IPlane &rhs) |
IPlane handles the indices of a critallographic plane.
◆ IPlane() [1/2]
| numodis::IPlane::IPlane |
( |
const unsigned | nindices = 3 | ) |
|
|
inlineexplicit |
Constructor.
- Parameters
-
| nindices | number of indices used to store n |
◆ IPlane() [2/2]
| numodis::IPlane::IPlane |
( |
const std::vector< int > & | iplane | ) |
|
|
inlineexplicit |
Constructor.
- Parameters
-
| iplane | index of the glide plane |
◆ getIndex() [1/2]
| const std::vector< int > & numodis::IPlane::getIndex |
( |
| ) |
const |
|
inlinenodiscard |
Return the index of the plane.
- Returns
- reference on the index of the plane
◆ getIndex() [2/2]
| void numodis::IPlane::getIndex |
( |
std::vector< int > & | pln | ) |
const |
|
inline |
Return the index of the plane.
- Parameters
-
◆ getNindices()
| long unsigned int numodis::IPlane::getNindices |
( |
| ) |
const |
|
inlinenodiscard |
Return the number of indices of the plane.
- Returns
- number of indices
◆ IsNull()
| bool numodis::IPlane::IsNull |
( |
| ) |
const |
|
inlinenodiscard |
Are the indices of the plane all zero?
- Returns
- true if only zero
◆ operator[]()
| int numodis::IPlane::operator[] |
( |
const size_type | i | ) |
const |
|
inlinenodiscard |
Return iplane[i].
- Parameters
-
- Returns
- iplane[i]
◆ setIPlane()
| void numodis::IPlane::setIPlane |
( |
const std::vector< int > & | iplane | ) |
|
|
inline |
set the index of the glide plane
- Parameters
-
| iplane | index of the glide plane |
The documentation for this struct was generated from the following file: