AGX Dynamics
2.38.0.2
ContactReducer.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
#pragma once
17
18
19
#include <
agxCollide/Contacts.h
>
20
#include <
agxCollide/ShapeCollider.h
>
21
22
#include <
agxData/LocalVector.h
>
23
24
namespace
agxCollide
{
25
55
class
AGXPHYSICS_EXPORT
ContactReducer
{
56
public
:
57
74
static
size_t
reduce(
75
agx::Vector<agxCollide::LocalContactPoint*>
& contactPoints,
76
size_t
binsPerDimension,
77
const
agx::Frame
* objectFrame =
nullptr
,
78
agx::Real
positionTolerance =
agx::Real
(1.0E-6));
79
96
static
size_t
reduce(
97
agx::Vector<agxCollide::ContactPoint*>
& contactPoints,
98
size_t
binsPerDimension,
99
const
agx::Frame
* objectFrame =
nullptr
,
100
agx::Real
positionTolerance =
agx::Real
(1.0E-6));
101
119
static
size_t
reduce(
120
agxData::LocalVector<agxCollide::LocalContactPoint*>
& contactPoints,
121
size_t
binsPerDimension,
122
const
agx::Frame
* objectFrame =
nullptr
,
123
agx::Real
positionTolerance =
agx::Real
(1.0E-6));
124
125
126
static
size_t
reduce(
127
agxData::LocalVector<agxCollide::LocalContactPoint>
& contactPoints,
128
agx::IndexRangeT<size_t>
range,
129
size_t
binsPerDimension,
130
const
agx::Frame
* objectFrame =
nullptr
,
131
agx::Real
positionTolerance =
agx::Real
(1.0e-6));
132
133
150
static
size_t
reduce(
151
agx::Vector<agxCollide::ContactPoint>
& contactPoints,
152
size_t
binsPerDimension,
153
const
agx::Frame
* objectFrame =
nullptr
,
154
agx::Real
positionTolerance =
agx::Real
(1.0E-6));
155
172
static
size_t
reduce(
173
agxData::Array<agxCollide::ContactPoint>
& contactPoints,
174
size_t
binsPerDimension,
175
const
agx::Frame
* objectFrame =
nullptr
,
176
agx::Real
positionTolerance =
agx::Real
(1.0E-6));
177
194
static
size_t
reduce(
195
agx::VectorPOD<agxCollide::LocalContactPoint>
& contactPoints,
196
size_t
binsPerDimension,
197
const
agx::Frame
* objectFrame =
nullptr
,
198
agx::Real
positionTolerance =
agx::Real
(1.0E-6));
199
};
200
}
201
agxCollide::ContactReducer
Class for contact reduction.
Definition:
ContactReducer.h:55
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 Sun Sep 1 2024 11:18:33 for AGX Dynamics by
1.8.17