 |
AGX Dynamics
2.38.0.2
|
Go to the documentation of this file.
17 #ifndef AGXMODEL_WINDANDWATERUTILS_H
18 #define AGXMODEL_WINDANDWATERUTILS_H
66 BELOW_SURFACE = 1 << 0,
67 ABOVE_SURFACE = 1 << 1,
69 CALCULATIONS_ENABLE = 1 << 3
175 #endif // AGXMODEL_WINDANDWATERUTILS_H
const AGXCORE_EXPORT Real REAL_SQRT_EPSILON
agx::Vec3 worldNormal
Normal to this triangle given in world coordinate system.
agx::Real dynamicPressure
Hydro- or aerostatic dynamic (drag, lift etc) pressure.
Contain classes for higher level modeling primitives, such as Tree, Terrain etc.
agx::Real totalPressure() const
agx::Vec3 worldPosition
World position of this vertex.
agx::Bool isOnSurface(agx::Real threshold=agx::REAL_SQRT_EPSILON) const
Vertex data for all global vertices in a mesh.
agx::Bool isBelowSurface() const
Global triangle data (mapped with agxCollide::Mesh object) holding vertex indices.
agxModel::VertexData vertices[3]
Vertices of this triangle.
agx::Vector< GlobalTriangleData > Container
const agxModel::VertexData & getVertex(size_t i) const
There are three vertices in this triangle.
agx::Vec3 worldVelocityOfMedium
Velocity of the medium this vertex is in (water current or wind velocity).
agx::Int32 state
Current state of this triangle.
const TriangleData & getClipped(size_t i) const
If isClipped() == true, access i'th clipped triangle (three of them).
agx::Vec3 worldVelocity
Velocity of this vertex given in world coordinate system.
agx::Real area
Area of this triangle.
agx::Real pressure
Hydro- or aerostatic pressure.
agx::Bool isClipped() const
agx::Real heightFromSurface
Height from surface, negative if below the surface.
agx::Bool isCalculationsEnable() const
agx::Bool isBelowSurface() const
agx::VectorPOD< TriangleData > Container
Triangle data for a normal or a clipped triangle.
agxModel::TriangleData::Container clipped
Container with clipped triangles if this global triangle has been clipped.
agx::VectorPOD< VertexData > Container