![]() |
NLMech
0.1.0
|
Provides geometrical methods such rotation of a vector. More...
Functions | |
| std::vector< size_t > | cyclicOrderACW (const size_t &i, const size_t &j, const size_t &k, const size_t &n) |
| Returns the list of elements in anti-clockwise order with indices i, j, and k as the first three elements. More... | |
| std::vector< size_t > | cyclicOrderACW (const size_t &i, const size_t &j, const size_t &n) |
| Returns the list of elements in anti-clockwise order starting from given index i and then index j. More... | |
| std::vector< size_t > | cyclicOrderACW (const size_t &i, const size_t &n) |
| Returns the list of elements in anti-clockwise order starting from given index i. More... | |
| std::vector< double > | rotateACW2D (const std::vector< double > &x, const double &theta) |
| Rotates a vector in xy-plane in anti-clockwise direction. More... | |
| util::Point3 | rotateACW2D (const util::Point3 &x, const double &theta) |
| Rotates a vector in xy-plane in anti-clockwise direction. More... | |
| std::vector< double > | rotateCW2D (const std::vector< double > &x, const double &theta) |
| Rotates a vector in xy-plane in clockwise direction. More... | |
| util::Point3 | rotateCW2D (const util::Point3 &x, const double &theta) |
| Rotates a vector in xy-plane in clockwise direction. More... | |
Provides geometrical methods such rotation of a vector.
| std::vector< size_t > util::transformation::cyclicOrderACW | ( | const size_t & | i, |
| const size_t & | j, | ||
| const size_t & | k, | ||
| const size_t & | n | ||
| ) |
Returns the list of elements in anti-clockwise order with indices i, j, and k as the first three elements.
| i | Index i which will be the first element of returned list |
| j | Index j which will be the second element of returned list |
| k | Index k which will be the third element of returned list |
| n | Number of elements |
| std::vector< size_t > util::transformation::cyclicOrderACW | ( | const size_t & | i, |
| const size_t & | j, | ||
| const size_t & | n | ||
| ) |
Returns the list of elements in anti-clockwise order starting from given index i and then index j.
| i | Index i which will be the first element of returned list |
| j | Index j which will be the second element of returned list |
| n | Number of elements |
| std::vector< size_t > util::transformation::cyclicOrderACW | ( | const size_t & | i, |
| const size_t & | n | ||
| ) |
Returns the list of elements in anti-clockwise order starting from given index i.
| i | Index i which will be the first element of returned list |
| n | Number of elements |
| std::vector< double > util::transformation::rotateACW2D | ( | const std::vector< double > & | x, |
| const double & | theta | ||
| ) |
Rotates a vector in xy-plane in anti-clockwise direction.
| x | Point |
| theta | Angle |

| util::Point3 util::transformation::rotateACW2D | ( | const util::Point3 & | x, |
| const double & | theta | ||
| ) |
Rotates a vector in xy-plane in anti-clockwise direction.
| x | Point |
| theta | Angle |

| std::vector< double > util::transformation::rotateCW2D | ( | const std::vector< double > & | x, |
| const double & | theta | ||
| ) |
Rotates a vector in xy-plane in clockwise direction.
| x | Point |
| theta | Angle |
Referenced by util::geometry::isPointInsideAngledRectangle(), inp::EdgeCrack::ptOutside(), and rotateACW2D().

| util::Point3 util::transformation::rotateCW2D | ( | const util::Point3 & | x, |
| const double & | theta | ||
| ) |
Rotates a vector in xy-plane in clockwise direction.
| x | Point |
| theta | Angle |