RobWorkProject  23.9.11-
Public Types | Public Member Functions | List of all members
TriTriIntersectMoller< T > Class Template Reference

tests if two triangles are intersecting using Thomas Mollers, 1997, no div method. The code is strongly inspired (read converted to use RobWork types) from Opcode 1.3 Pierre Terdiman 2001. More...

#include <TriTriIntersectMoller.hpp>

Public Types

typedef T value_type
 

Public Member Functions

bool inCollision (const rw::math::Vector3D< T > &P1, const rw::math::Vector3D< T > &P2, const rw::math::Vector3D< T > &P3, const rw::math::Vector3D< T > &Q1, const rw::math::Vector3D< T > &Q2, const rw::math::Vector3D< T > &Q3)
 
bool inCollision (const rw::geometry::Triangle< T > &P, const rw::geometry::Triangle< T > &Q)
 
bool inCollision (const rw::geometry::Triangle< T > &P, const rw::geometry::Triangle< T > &Q, const rw::math::Transform3D< T > &PTQ)
 

Detailed Description

template<class T = double>
class rw::geometry::TriTriIntersectMoller< T >

tests if two triangles are intersecting using Thomas Mollers, 1997, no div method. The code is strongly inspired (read converted to use RobWork types) from Opcode 1.3 Pierre Terdiman 2001.


The documentation for this class was generated from the following file: