AGX Dynamics  2.37.2.0
agxModel::VertexData Struct Reference

Vertex data for all global vertices in a mesh. More...

#include <WindAndWaterUtils.h>

Public Types

typedef agx::VectorPOD< VertexData > Container
 

Public Member Functions

agx::Bool isBelowSurface () const
 
agx::Bool isOnSurface (agx::Real threshold=agx::REAL_SQRT_EPSILON) const
 

Public Attributes

agx::Real heightFromSurface
 Height from surface, negative if below the surface. More...
 
agx::Real pressure
 Hydro- or aerostatic pressure. More...
 
agx::Vec3 worldPosition
 World position of this vertex. More...
 
agx::Vec3 worldVelocity
 Velocity of this vertex given in world coordinate system. More...
 
agx::Vec3 worldVelocityOfMedium
 Velocity of the medium this vertex is in (water current or wind velocity). More...
 

Detailed Description

Vertex data for all global vertices in a mesh.

Definition at line 34 of file WindAndWaterUtils.h.

Member Typedef Documentation

◆ Container

Member Function Documentation

◆ isBelowSurface()

agx::Bool agxModel::VertexData::isBelowSurface ( ) const
Returns
true if this vertex is below "the surface", i.e., in the water

Definition at line 184 of file WindAndWaterUtils.h.

◆ isOnSurface()

agx::Bool agxModel::VertexData::isOnSurface ( agx::Real  threshold = agx::REAL_SQRT_EPSILON) const

Definition at line 189 of file WindAndWaterUtils.h.

Member Data Documentation

◆ heightFromSurface

agx::Real agxModel::VertexData::heightFromSurface

Height from surface, negative if below the surface.

Definition at line 47 of file WindAndWaterUtils.h.

◆ pressure

agx::Real agxModel::VertexData::pressure

Hydro- or aerostatic pressure.

Definition at line 48 of file WindAndWaterUtils.h.

◆ worldPosition

agx::Vec3 agxModel::VertexData::worldPosition

World position of this vertex.

Definition at line 44 of file WindAndWaterUtils.h.

◆ worldVelocity

agx::Vec3 agxModel::VertexData::worldVelocity

Velocity of this vertex given in world coordinate system.

Definition at line 45 of file WindAndWaterUtils.h.

◆ worldVelocityOfMedium

agx::Vec3 agxModel::VertexData::worldVelocityOfMedium

Velocity of the medium this vertex is in (water current or wind velocity).

Definition at line 46 of file WindAndWaterUtils.h.


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