|
AGX Dynamics
2.37.2.0
|
Class in order to circulate over the edges connected to a Triangle's vertex. More...
#include <Mesh.h>
Public Member Functions | |
| VertexEdgeCirculator () | |
| A newly created and unassigned VertexEdgeCirculator will be invalid. More... | |
| bool | atEnd () const |
| agx::Vec3 | getEdgeEndVertex () const |
| agx::Vec3 | getEdgeStartVertex () const |
| uint_fast8_t | getLocalEdgeIndex () const |
| const Mesh * | getMesh () const |
| const Triangle | getTriangle () const |
| size_t | getTriangleIndex () const |
| bool | hasJustJumpedOverHole () const |
| bool | isValid () const |
| void | operator++ (int) |
| Move circulator one step clockwise. More... | |
| VertexEdgeCirculator & | operator++ () |
| Move circulator one step clockwise. More... | |
Protected Member Functions | |
| VertexEdgeCirculator (const Mesh *mesh, size_t triangleIndex, uint_fast8_t localVertexIndex) | |
| This hidden constructor can only be called from the Mesh class. More... | |
Protected Attributes | |
| bool | m_hasJustJumpedOverHole |
| bool | m_hasMoved |
| uint_fast8_t | m_localEdgeIndex |
| uint_fast8_t | m_localEdgeStartIndex |
| MeshConstRef | m_mesh |
| size_t | m_triangleIndex |
| size_t | m_triangleStartIndex |
| bool | m_valid |
Class in order to circulate over the edges connected to a Triangle's vertex.
Involves a small overhead compared to using the more low-level access to the raw data by using getMeshData().
| agxCollide::Mesh::VertexEdgeCirculator::VertexEdgeCirculator | ( | ) |
A newly created and unassigned VertexEdgeCirculator will be invalid.
|
protected |
This hidden constructor can only be called from the Mesh class.
| bool agxCollide::Mesh::VertexEdgeCirculator::atEnd | ( | ) | const |
Definition at line 940 of file Mesh.h.
Referenced by agxSDK::findMostParallelEdgeAmongNeighboringTriangles().
| agx::Vec3 agxCollide::Mesh::VertexEdgeCirculator::getEdgeEndVertex | ( | ) | const |
| agx::Vec3 agxCollide::Mesh::VertexEdgeCirculator::getEdgeStartVertex | ( | ) | const |
| uint_fast8_t agxCollide::Mesh::VertexEdgeCirculator::getLocalEdgeIndex | ( | ) | const |
Definition at line 978 of file Mesh.h.
Referenced by agxSDK::findMostParallelEdgeAmongNeighboringTriangles().
| const Mesh * agxCollide::Mesh::VertexEdgeCirculator::getMesh | ( | ) | const |
|
inline |
Definition at line 971 of file Mesh.h.
Referenced by agxSDK::findMostParallelEdgeAmongNeighboringTriangles().
| size_t agxCollide::Mesh::VertexEdgeCirculator::getTriangleIndex | ( | ) | const |
| bool agxCollide::Mesh::VertexEdgeCirculator::hasJustJumpedOverHole | ( | ) | const |
| bool agxCollide::Mesh::VertexEdgeCirculator::isValid | ( | ) | const |
Definition at line 933 of file Mesh.h.
Referenced by agxSDK::findMostParallelEdgeAmongNeighboringTriangles().
| void agxCollide::Mesh::VertexEdgeCirculator::operator++ | ( | int | ) |
Move circulator one step clockwise.
Moves to next triangle bordering to the vertex and this triangle's edge starting from the vertex. If no half-edge information is available for the bordering edge (a hole), the circulator will go counterclockwise backwards around the vertex until a hole is found there.
| Mesh::VertexEdgeCirculator & agxCollide::Mesh::VertexEdgeCirculator::operator++ | ( | ) |
Move circulator one step clockwise.
Moves to next triangle bordering to the vertex and this triangle's edge starting from the vertex. If no half-edge information is available for the bordering edge (a hole), the circulator will go counterclockwise backwards around the vertex until a hole is found there.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |