Class in order to circulate over the edges connected to a Triangle's face.
More...
#include <Mesh.h>
Class in order to circulate over the edges connected to a Triangle's face.
Involves a small overhead compared to using the more low-level access to the raw data by using getMeshData().
Definition at line 289 of file Mesh.h.
| agxCollide::Mesh::FaceEdgeCirculator::FaceEdgeCirculator |
( |
| ) |
|
| agxCollide::Mesh::FaceEdgeCirculator::FaceEdgeCirculator |
( |
const Mesh * |
mesh, |
|
|
size_t |
triangleIndex |
|
) |
| |
|
protected |
This hidden constructor can only be called from the Mesh class.
- Parameters
-
| mesh | - Pointer to the mesh |
| triangleIndex | Within the meshData, the index of the Triangle the circulator points to when constructed. |
| bool agxCollide::Mesh::FaceEdgeCirculator::atEnd |
( |
| ) |
const |
- Returns
- True if circulator is valid, at start position and has been increased. Watch out in while loops: Also test for isValid() to avoid endless loops.
Definition at line 1046 of file Mesh.h.
| agx::Vec3 agxCollide::Mesh::FaceEdgeCirculator::getEdgeEndVertex |
( |
| ) |
const |
- Returns
- Ending vertex of the edge the circulator is pointing to.
Definition at line 1062 of file Mesh.h.
| agx::Vec3 agxCollide::Mesh::FaceEdgeCirculator::getEdgeStartVertex |
( |
| ) |
const |
- Returns
- Starting vertex of the edge the circulator is pointing to.
Definition at line 1053 of file Mesh.h.
| uint_fast8_t agxCollide::Mesh::FaceEdgeCirculator::getLocalEdgeIndex |
( |
| ) |
const |
- Returns
- The local edge index of the edge the circulator is pointing to.
Definition at line 1077 of file Mesh.h.
| const Mesh * agxCollide::Mesh::FaceEdgeCirculator::getMesh |
( |
| ) |
const |
- Returns
- A pointer to the Mesh this circulator is based on.
Definition at line 1091 of file Mesh.h.
| const Mesh::Triangle agxCollide::Mesh::FaceEdgeCirculator::getTriangle |
( |
| ) |
const |
|
inline |
- Returns
- The triangle the circulator is pointing to.
Definition at line 1070 of file Mesh.h.
| bool agxCollide::Mesh::FaceEdgeCirculator::isValid |
( |
| ) |
const |
- Returns
- True if the circulator is valid. Circulators become invalid if constructed from or assigned with on invalid data.
Definition at line 1039 of file Mesh.h.
| void agxCollide::Mesh::FaceEdgeCirculator::operator++ |
( |
int |
| ) |
|
Move circulator one step counter clockwise around the face.
Definition at line 1023 of file Mesh.h.
Move circulator one step counter clockwise around the face.
Definition at line 1032 of file Mesh.h.
| bool agxCollide::Mesh::FaceEdgeCirculator::m_hasMoved |
|
protected |
| uint_fast8_t agxCollide::Mesh::FaceEdgeCirculator::m_localEdgeIndex |
|
protected |
| size_t agxCollide::Mesh::FaceEdgeCirculator::m_triangleIndex |
|
protected |
| bool agxCollide::Mesh::FaceEdgeCirculator::m_valid |
|
protected |
The documentation for this class was generated from the following file: