AGX Dynamics 2.38.0.2
Loading...
Searching...
No Matches
ContactReducer.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#pragma once
17
18
19#include <agxCollide/Contacts.h>
21
22#include <agxData/LocalVector.h>
23
24namespace agxCollide {
25
56 public:
57
74 static size_t reduce(
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(
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(
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(
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(
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(
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(
196 size_t binsPerDimension,
197 const agx::Frame* objectFrame = nullptr,
198 agx::Real positionTolerance = agx::Real(1.0E-6));
199 };
200}
201
#define AGXPHYSICS_EXPORT
Class for contact reduction.
static size_t reduce(agx::Vector< agxCollide::LocalContactPoint * > &contactPoints, size_t binsPerDimension, const agx::Frame *objectFrame=nullptr, agx::Real positionTolerance=agx::Real(1.0E-6))
Reduces contacts based on binning in 6 dimensions.
static size_t reduce(agx::Vector< agxCollide::ContactPoint > &contactPoints, size_t binsPerDimension, const agx::Frame *objectFrame=nullptr, agx::Real positionTolerance=agx::Real(1.0E-6))
Reduces contacts based on binning in 6 dimensions.
static size_t reduce(agx::VectorPOD< agxCollide::LocalContactPoint > &contactPoints, size_t binsPerDimension, const agx::Frame *objectFrame=nullptr, agx::Real positionTolerance=agx::Real(1.0E-6))
Reduces contacts based on binning in 6 dimensions.
static size_t reduce(agxData::LocalVector< agxCollide::LocalContactPoint * > &contactPoints, size_t binsPerDimension, const agx::Frame *objectFrame=nullptr, agx::Real positionTolerance=agx::Real(1.0E-6))
Reduces contacts based on binning in 6 dimensions.
static size_t reduce(agx::Vector< agxCollide::ContactPoint * > &contactPoints, size_t binsPerDimension, const agx::Frame *objectFrame=nullptr, agx::Real positionTolerance=agx::Real(1.0E-6))
Reduces contacts based on binning in 6 dimensions.
static size_t reduce(agxData::Array< agxCollide::ContactPoint > &contactPoints, size_t binsPerDimension, const agx::Frame *objectFrame=nullptr, agx::Real positionTolerance=agx::Real(1.0E-6))
Reduces contacts based on binning in 6 dimensions.
static size_t reduce(agxData::LocalVector< agxCollide::LocalContactPoint > &contactPoints, agx::IndexRangeT< size_t > range, size_t binsPerDimension, const agx::Frame *objectFrame=nullptr, agx::Real positionTolerance=agx::Real(1.0e-6))
Only use as member allocated variable.
Definition Value.h:285
The object defining a frame of reference and providing transformations operations.
Definition agx/Frame.h:68
A range of indices.
Definition IndexRange.h:33
Vector containing 'raw' data.
Definition agx/Vector.h:246
Templated vector class.
Definition agx/Vector.h:53
This namespace consists of a set of classes for handling geometric intersection tests including boole...
double Real
Definition Real.h:42