AGX Dynamics 2.38.0.2
Loading...
Searching...
No Matches
GeometryCollider.h
Go to the documentation of this file.
1/*
2Copyright 2007-2024. Algoryx Simulation AB.
3
4All AGX source code, intellectual property, documentation, sample code,
5tutorials, scene files and technical white papers, are copyrighted, proprietary
6and confidential material of Algoryx Simulation AB. You may not download, read,
7store, distribute, publish, copy or otherwise disseminate, use or expose this
8material unless having a written signed agreement with Algoryx Simulation AB, or having been
9advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
10valid commercial license from Algoryx Simulation AB.
11
12Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13from using this software, unless otherwise stated in written agreements with
14Algoryx Simulation AB.
15*/
16
17#ifndef AGXCOLLIDE_GEOMETRYCOLLIDER_H
18#define AGXCOLLIDE_GEOMETRYCOLLIDER_H
19
22
23
24#ifdef _MSC_VER
25# pragma warning(push)
26# pragma warning( disable : 4290 )
27#endif
28
29namespace agxCollide
30{
31 class Geometry;
32
41 {
42 public:
60 static void calculateContacts(
61 Geometry* geom1,
62 Geometry* geom2,
64 const bool useContactAreaApproach = false,
65 const agx::Bool& contactReductionEnable = false,
66 const agx::UInt& contactReductionThreshold = 12,
67 const agx::UInt& contactReductionBinResolution = 3);
68
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 */
#define AGXPHYSICS_EXPORT
The geometry collider is responsible for finding contacts between two geometries.
static void calculateContacts(Geometry *geom1, Geometry *geom2, LocalGeometryContact &result, const bool useContactAreaApproach=false, const agx::Bool &contactReductionEnable=false, const agx::UInt &contactReductionThreshold=12, const agx::UInt &contactReductionBinResolution=3)
Calculates two geometries against each other.
static LocalGeometryContact calculateContacts(Geometry *geom1, Geometry *geom2, const bool useContactAreaApproach=false, const agx::Bool &contactReductionEnable=false, const agx::UInt &contactReductionThreshold=12, const agx::UInt &contactReductionBinResolution=3)
Calculates two geometries against each other.
The geometry representation used by the collision detection engine.
Definition Geometry.h:92
This namespace consists of a set of classes for handling geometric intersection tests including boole...
bool Bool
Definition Integer.h:40
uint64_t UInt
Definition Integer.h:27