AGX Dynamics  2.37.3.2
GeometryCollider.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 AGXCOLLIDE_GEOMETRYCOLLIDER_H
18 #define AGXCOLLIDE_GEOMETRYCOLLIDER_H
19 
20 #include <agx/agxPhysics_export.h>
22 
23 
24 #ifdef _MSC_VER
25 # pragma warning(push)
26 # pragma warning( disable : 4290 )
27 #endif
28 
29 namespace agxCollide
30 {
31  class Geometry;
32 
41  {
42  public:
60  static void calculateContacts(
61  Geometry* geom1,
62  Geometry* geom2,
63  LocalGeometryContact& result,
64  const bool useContactAreaApproach = false,
65  const agx::Bool& contactReductionEnable = false,
66  const agx::UInt& contactReductionThreshold = 12,
67  const agx::UInt& contactReductionBinResolution = 3);
68 
86  static LocalGeometryContact calculateContacts(
87  Geometry* geom1,
88  Geometry* geom2,
89  const bool useContactAreaApproach = false,
90  const agx::Bool& contactReductionEnable = false,
91  const agx::UInt& contactReductionThreshold = 12,
92  const agx::UInt& contactReductionBinResolution = 3);
93  };
94 }
95 
96 #ifdef _MSC_VER
97 # pragma warning(pop)
98 #endif
99 
100 #endif /* AGXCOLLIDE_GEOMETRYCOLLIDER_H */
bool Bool
Definition: Integer.h:48
This namespace consists of a set of classes for handling geometric intersection tests including boole...
#define AGXPHYSICS_EXPORT
The geometry representation used by the collision detection engine.
Definition: Geometry.h:92
uint32_t UInt
Definition: Integer.h:34
The geometry collider is responsible for finding contacts between two geometries. ...