AGX Dynamics  2.37.2.0
agxModel::GlobalTriangleData Struct Reference

Global triangle data (mapped with agxCollide::Mesh object) holding vertex indices. More...

#include <WindAndWaterUtils.h>

+ Inheritance diagram for agxModel::GlobalTriangleData:

Public Types

typedef agx::Vector< GlobalTriangleData > Container
 
- Public Types inherited from agxModel::TriangleData
typedef agx::VectorPOD< TriangleData > Container
 
enum  State { BELOW_SURFACE = 1 << 0, ABOVE_SURFACE = 1 << 1, CLIPPED = 1 << 2, CALCULATIONS_ENABLE = 1 << 3 }
 

Public Attributes

agxModel::TriangleData::Container clipped
 Container with clipped triangles if this global triangle has been clipped. More...
 
agx::UInt vertexIndices [3]
 Vertex indices. More...
 
- Public Attributes inherited from agxModel::TriangleData
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...
 

Additional Inherited Members

- Public Member Functions inherited from agxModel::TriangleData
agx::Real calculateArea () const
 
agx::Vec3 calculateNormal () const
 
agx::Bool isBelowSurface () const
 
agx::Bool isCalculationsEnable () const
 
agx::Bool isClipped () const
 

Detailed Description

Global triangle data (mapped with agxCollide::Mesh object) holding vertex indices.

Definition at line 101 of file WindAndWaterUtils.h.

Member Typedef Documentation

◆ Container

Member Data Documentation

◆ clipped

agxModel::TriangleData::Container agxModel::GlobalTriangleData::clipped

Container with clipped triangles if this global triangle has been clipped.

Definition at line 106 of file WindAndWaterUtils.h.

Referenced by agxModel::triangleIterator().

◆ vertexIndices

agx::UInt agxModel::GlobalTriangleData::vertexIndices[3]

Vertex indices.

Definition at line 105 of file WindAndWaterUtils.h.


The documentation for this struct was generated from the following file: