AGX Dynamics  2.37.3.2
ShapeDistance.h File Reference
#include <cstdint>
#include <agx/agxPhysics_export.h>
#include <agx/Vec3.h>
#include <agx/AffineMatrix4x4.h>

Go to the source code of this file.

Namespaces

 agxCollide
 This namespace consists of a set of classes for handling geometric intersection tests including boolean tests, penetration and contact sets.
 

Enumerations

enum  agxCollide::ShapeDistanceResult : std::uint8_t { agxCollide::ShapeDistanceResult::SUCCESS, agxCollide::ShapeDistanceResult::OVERLAPPING_SHAPES, agxCollide::ShapeDistanceResult::UNSUPPORTED_SHAPE_TYPES, agxCollide::ShapeDistanceResult::FAILURE }
 Status values that can be returned when performing shape-shape distance computation. More...
 

Functions

AGXPHYSICS_EXPORT agxCollide::ShapeDistanceResult agxCollide::computeGeometryDistance (const agxCollide::Geometry *geometry1, const agx::AffineMatrix4x4 &transform1, const agxCollide::Geometry *geometry2, const agx::AffineMatrix4x4 &transform2, agx::Vec3 &point1, agx::Vec3 &point2)
 Utility method to perform shape-shape minimum distance test between all compatible shape pairs, where one shape is taken from each geometry. More...
 
AGXPHYSICS_EXPORT agxCollide::ShapeDistanceResult agxCollide::computeShapeDistance (const agxCollide::Shape *shape1, const agx::AffineMatrix4x4 &transform1, const agxCollide::Shape *shape2, const agx::AffineMatrix4x4 &transform2, agx::Vec3 &point1, agx::Vec3 &point2)
 Utility function to compute the minimum distance between two shapes. More...