Classes | Static Public Member Functions | List of all members
hpp::fcl::Project Class Reference

Project functions. More...

#include <hpp/fcl/intersect.h>

Classes

struct  ProjectResult
 

Static Public Member Functions

static ProjectResult projectLine (const Vec3f &a, const Vec3f &b, const Vec3f &p)
 Project point p onto line a-b. More...
 
static ProjectResult projectTriangle (const Vec3f &a, const Vec3f &b, const Vec3f &c, const Vec3f &p)
 Project point p onto triangle a-b-c. More...
 
static ProjectResult projectTetrahedra (const Vec3f &a, const Vec3f &b, const Vec3f &c, const Vec3f &d, const Vec3f &p)
 Project point p onto tetrahedra a-b-c-d. More...
 
static ProjectResult projectLineOrigin (const Vec3f &a, const Vec3f &b)
 Project origin (0) onto line a-b. More...
 
static ProjectResult projectTriangleOrigin (const Vec3f &a, const Vec3f &b, const Vec3f &c)
 Project origin (0) onto triangle a-b-c. More...
 
static ProjectResult projectTetrahedraOrigin (const Vec3f &a, const Vec3f &b, const Vec3f &c, const Vec3f &d)
 Project origin (0) onto tetrahedran a-b-c-d. More...
 

Detailed Description

Project functions.

Member Function Documentation

static ProjectResult hpp::fcl::Project::projectLine ( const Vec3f a,
const Vec3f b,
const Vec3f p 
)
static

Project point p onto line a-b.

static ProjectResult hpp::fcl::Project::projectLineOrigin ( const Vec3f a,
const Vec3f b 
)
static

Project origin (0) onto line a-b.

static ProjectResult hpp::fcl::Project::projectTetrahedra ( const Vec3f a,
const Vec3f b,
const Vec3f c,
const Vec3f d,
const Vec3f p 
)
static

Project point p onto tetrahedra a-b-c-d.

static ProjectResult hpp::fcl::Project::projectTetrahedraOrigin ( const Vec3f a,
const Vec3f b,
const Vec3f c,
const Vec3f d 
)
static

Project origin (0) onto tetrahedran a-b-c-d.

static ProjectResult hpp::fcl::Project::projectTriangle ( const Vec3f a,
const Vec3f b,
const Vec3f c,
const Vec3f p 
)
static

Project point p onto triangle a-b-c.

Referenced by hpp::fcl::details::sphereTriangleDistance().

static ProjectResult hpp::fcl::Project::projectTriangleOrigin ( const Vec3f a,
const Vec3f b,
const Vec3f c 
)
static

Project origin (0) onto triangle a-b-c.