AGX Dynamics
2.38.0.2
Loading...
Searching...
No Matches
CachedContact.h
Go to the documentation of this file.
1
/*
2
Copyright 2007-2024. Algoryx Simulation AB.
3
4
All AGX source code, intellectual property, documentation, sample code,
5
tutorials, scene files and technical white papers, are copyrighted, proprietary
6
and confidential material of Algoryx Simulation AB. You may not download, read,
7
store, distribute, publish, copy or otherwise disseminate, use or expose this
8
material unless having a written signed agreement with Algoryx Simulation AB, or having been
9
advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
10
valid commercial license from Algoryx Simulation AB.
11
12
Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13
from using this software, unless otherwise stated in written agreements with
14
Algoryx Simulation AB.
15
*/
16
17
#ifndef AGX_PHYSICS_GRANULARBODY_CACHEDCONTACT_H
18
#define AGX_PHYSICS_GRANULARBODY_CACHEDCONTACT_H
19
20
#include <
agxData/Type.h
>
21
#include <
agx/Real.h
>
22
#include <
agx/Integer.h
>
23
// #include <agx/Physics/ParticleEntity.h>
24
#include <
agx/Physics/GranularBodyEntity.h
>
25
#include <
agx/Physics/GeometryEntity.h
>
26
#include <
agx/SymmetricPair.h
>
27
28
namespace
agx
29
{
30
namespace
Physics
31
{
32
namespace
GranularBody
33
{
34
struct
ContactLambda
35
{
36
ContactLambda
()
37
{
38
for
(
size_t
i = 0; i < 6; ++i)
39
lambda
[i] = 0;
40
}
41
42
agx::Real32
lambda
[6];
43
};
44
45
typedef
SymmetricPair<GranularBodyPtr>
GranularGranularPair
;
46
typedef
std::pair<GranularBodyPtr, GeometryPtr>
GranularGeometryPair
;
47
}
48
}
49
}
50
51
AGX_TYPE_BINDING
(
agx::Physics::GranularBody::ContactLambda
,
"Physics.GranularBody.ContactLambda"
)
52
AGX_TYPE_BINDING
(
agx
::Physics::GranularBody::GranularGranularPair, "Physics.GranularBody.GranularGranularPair")
53
AGX_TYPE_BINDING
(
agx
::Physics::GranularBody::GranularGeometryPair, "Physics.GranularBody.GranularGeometryPair")
54
55
56
#endif
/* AGX_PHYSICS_GRANULARBODY_CACHEDCONTACT_H */
GeometryEntity.h
GranularBodyEntity.h
Integer.h
Real.h
SymmetricPair.h
Type.h
AGX_TYPE_BINDING
#define AGX_TYPE_BINDING(_Type, _Name)
Definition
Type.h:179
agx::SymmetricPair
A std::pair, with both elements of the same type, and symmetric so (a, b) == (b, a)
Definition
SymmetricPair.h:32
agx::Physics::GranularBody::GranularGranularPair
SymmetricPair< GranularBodyPtr > GranularGranularPair
Definition
CachedContact.h:45
agx::Physics::GranularBody::GranularGeometryPair
std::pair< GranularBodyPtr, GeometryPtr > GranularGeometryPair
Definition
CachedContact.h:46
agx
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
Definition
AddedMassInteraction.h:23
agx::Real32
float Real32
Definition
Real.h:44
agx::Physics::GranularBody::ContactLambda
Definition
CachedContact.h:35
agx::Physics::GranularBody::ContactLambda::lambda
agx::Real32 lambda[6]
Definition
CachedContact.h:42
agx::Physics::GranularBody::ContactLambda::ContactLambda
ContactLambda()
Definition
CachedContact.h:36
Components
agx
Physics
GranularBody
CachedContact.h
Generated on Sun Sep 1 2024 11:24:33 for AGX Dynamics by
1.9.8