Global triangle data (mapped with agxCollide::Mesh object) holding vertex indices.
More...
#include <WindAndWaterUtils.h>
Global triangle data (mapped with agxCollide::Mesh object) holding vertex indices.
Definition at line 101 of file WindAndWaterUtils.h.
◆ Container
◆ State
| Enumerator |
|---|
| BELOW_SURFACE | |
| ABOVE_SURFACE | |
| CLIPPED | |
| CALCULATIONS_ENABLE | |
Definition at line 58 of file WindAndWaterUtils.h.
◆ calculateArea()
| agx::Real agxModel::TriangleData::calculateArea |
( |
| ) |
const |
|
inherited |
- Returns
- the calculated area of this triangle (note that the area is cached, this method is usually only used in debug purposes)
◆ calculateNormal()
| agx::Vec3 agxModel::TriangleData::calculateNormal |
( |
| ) |
const |
|
inherited |
- Returns
- the calculated normal of this triangle (not that the normal is cached, this method is usually only used in debug purposes)
◆ isBelowSurface()
| agx::Bool agxModel::TriangleData::isBelowSurface |
( |
| ) |
const |
|
inherited |
◆ isCalculationsEnable()
| agx::Bool agxModel::TriangleData::isCalculationsEnable |
( |
| ) |
const |
|
inherited |
- Returns
- true if calculations should be done on this triangle
Definition at line 204 of file WindAndWaterUtils.h.
◆ isClipped()
| agx::Bool agxModel::TriangleData::isClipped |
( |
| ) |
const |
|
inherited |
◆ area
◆ clipped
◆ pfrIndex
◆ state
◆ vertexIndices
| agx::UInt agxModel::GlobalTriangleData::vertexIndices[3] |
◆ vertices
◆ worldNormal
| agx::Vec3 agxModel::TriangleData::worldNormal |
|
inherited |
Normal to this triangle given in world coordinate system.
Definition at line 92 of file WindAndWaterUtils.h.
The documentation for this struct was generated from the following file: