SOFA plugin: CollisionOBBCapsule  master
Open source framework for multi-physics simuation
collisionobbcapsule::detection::intersection::IntrUtil< geometry::TOBB< DataType > > Struct Template Reference

#include <IntrUtility3.h>

Static Public Member Functions

static void project (type::Vec< 3, Real > &pt, const Box &box)
 

Function details

◆ project()

template<class DataType >
static void collisionobbcapsule::detection::intersection::IntrUtil< geometry::TOBB< DataType > >::project ( type::Vec< 3, Real > &  pt,
const Box box 
)
static

Project pt on the Box box, caution, works only if pt is outside the box.