|
AGX Dynamics
2.37.2.0
|
Triangle data for a normal or a clipped triangle. More...
#include <WindAndWaterUtils.h>
Inheritance diagram for agxModel::TriangleData:Public Types | |
| typedef agx::VectorPOD< TriangleData > | Container |
| enum | State { BELOW_SURFACE = 1 << 0, ABOVE_SURFACE = 1 << 1, CLIPPED = 1 << 2, CALCULATIONS_ENABLE = 1 << 3 } |
Public Member Functions | |
| agx::Real | calculateArea () const |
| agx::Vec3 | calculateNormal () const |
| agx::Bool | isBelowSurface () const |
| agx::Bool | isCalculationsEnable () const |
| agx::Bool | isClipped () const |
Public Attributes | |
| agx::Real | area |
| Area of this triangle. More... | |
| agx::UInt | pfrIndex |
| agx::Int32 | state |
| Current state of this triangle. More... | |
| agxModel::VertexData | vertices [3] |
| Vertices of this triangle. More... | |
| agx::Vec3 | worldNormal |
| Normal to this triangle given in world coordinate system. More... | |
Triangle data for a normal or a clipped triangle.
Definition at line 54 of file WindAndWaterUtils.h.
Definition at line 56 of file WindAndWaterUtils.h.
| Enumerator | |
|---|---|
| BELOW_SURFACE | |
| ABOVE_SURFACE | |
| CLIPPED | |
| CALCULATIONS_ENABLE | |
Definition at line 58 of file WindAndWaterUtils.h.
| agx::Real agxModel::TriangleData::calculateArea | ( | ) | const |
| agx::Vec3 agxModel::TriangleData::calculateNormal | ( | ) | const |
| agx::Bool agxModel::TriangleData::isBelowSurface | ( | ) | const |
Definition at line 194 of file WindAndWaterUtils.h.
| agx::Bool agxModel::TriangleData::isCalculationsEnable | ( | ) | const |
Definition at line 204 of file WindAndWaterUtils.h.
| agx::Bool agxModel::TriangleData::isClipped | ( | ) | const |
Definition at line 199 of file WindAndWaterUtils.h.
Referenced by agxModel::triangleIterator().
| agx::Real agxModel::TriangleData::area |
Area of this triangle.
Definition at line 93 of file WindAndWaterUtils.h.
| agx::UInt agxModel::TriangleData::pfrIndex |
Definition at line 95 of file WindAndWaterUtils.h.
| agx::Int32 agxModel::TriangleData::state |
Current state of this triangle.
Definition at line 94 of file WindAndWaterUtils.h.
| agxModel::VertexData agxModel::TriangleData::vertices[3] |
Vertices of this triangle.
Definition at line 91 of file WindAndWaterUtils.h.
| agx::Vec3 agxModel::TriangleData::worldNormal |
Normal to this triangle given in world coordinate system.
Definition at line 92 of file WindAndWaterUtils.h.