AGXDynamics
2.35.0.2
ContactReducer.h
Go to the documentation of this file.
1
/*
2
Copyright 2007-2022. 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
#ifndef AGX_CONTACT_REDUCER_H
17
#define AGX_CONTACT_REDUCER_H
18
19
20
#include <
agxCollide/Contacts.h
>
21
#include <
agxCollide/ShapeCollider.h
>
22
23
#include <
agxData/LocalVector.h
>
24
25
namespace
agxCollide
{
26
56
class
AGXPHYSICS_EXPORT
ContactReducer
{
57
public
:
58
75
static
size_t
reduce(
76
agx::Vector<agxCollide::LocalContactPoint*>
& contactPoints,
77
size_t
binsPerDimension,
78
const
agx::Frame
* objectFrame =
nullptr
,
79
agx::Real
positionTolerance =
agx::Real
(1.0E-6));
80
97
static
size_t
reduce(
98
agx::Vector<agxCollide::ContactPoint*>
& contactPoints,
99
size_t
binsPerDimension,
100
const
agx::Frame
* objectFrame =
nullptr
,
101
agx::Real
positionTolerance =
agx::Real
(1.0E-6));
102
120
static
size_t
reduce(
121
agxData::LocalVector<agxCollide::LocalContactPoint*>
& contactPoints,
122
size_t
binsPerDimension,
123
const
agx::Frame
* objectFrame =
nullptr
,
124
agx::Real
positionTolerance =
agx::Real
(1.0E-6));
125
126
127
static
size_t
reduce(
128
agxData::LocalVector<agxCollide::LocalContactPoint>
& contactPoints,
129
agx::IndexRangeT<size_t>
range,
130
size_t
binsPerDimension,
131
const
agx::Frame
* objectFrame =
nullptr
,
132
agx::Real
positionTolerance =
agx::Real
(1.0e-6));
133
134
151
static
size_t
reduce(
152
agx::Vector<agxCollide::ContactPoint>
& contactPoints,
153
size_t
binsPerDimension,
154
const
agx::Frame
* objectFrame =
nullptr
,
155
agx::Real
positionTolerance =
agx::Real
(1.0E-6));
156
173
static
size_t
reduce(
174
agxData::Array<agxCollide::ContactPoint>
& contactPoints,
175
size_t
binsPerDimension,
176
const
agx::Frame
* objectFrame =
nullptr
,
177
agx::Real
positionTolerance =
agx::Real
(1.0E-6));
178
195
static
size_t
reduce(
196
agx::VectorPOD<agxCollide::LocalContactPoint>
& contactPoints,
197
size_t
binsPerDimension,
198
const
agx::Frame
* objectFrame =
nullptr
,
199
agx::Real
positionTolerance =
agx::Real
(1.0E-6));
200
};
201
}
202
203
#endif
agxCollide::ContactReducer
Class for contact reduction.
Definition:
ContactReducer.h:56
agx::Real
double Real
Definition:
Real.h:42
agx::Vector
Templated vector class.
Definition:
Vector.h:52
agx::VectorPOD
Vector containing 'raw' data.
Definition:
Vector.h:245
AGXPHYSICS_EXPORT
#define AGXPHYSICS_EXPORT
agxData::Array
Type-specific Array used for fast access into the data held by a Buffer.
Definition:
agxData.h:30
agx::IndexRangeT
A range of indices.
Definition:
IndexRange.h:32
ShapeCollider.h
agxCollide
This namespace consists of a set of classes for handling geometric intersection tests including boole...
Definition:
ContactForceFilterParticipant.h:22
Contacts.h
agx::Frame
The object defining a frame of reference and providing transformations operations.
Definition:
Frame.h:67
LocalVector.h
agxData::LocalVector
Local scope vector.
Definition:
LocalVector.h:43
include
agxCollide
ContactReducer.h
Generated on Mon Jan 30 2023 15:44:11 for AGXDynamics by
1.8.17