Moby
PairwiseDistInfo.h
1 /****************************************************************************
2  * Copyright 2014 Evan Drumwright
3  * This library is distributed under the terms of the Apache V2.0
4  * License (obtainable from http://www.apache.org/licenses/LICENSE-2.0).
5  ****************************************************************************/
6 
7 #ifndef _MOBY_PAIRWISE_DIST_INFO_H_
8 #define _MOBY_PAIRWISE_DIST_INFO_H_
9 
10 #include <Moby/Types.h>
11 
12 namespace Moby {
13 
16 {
17  CollisionGeometryPtr a; // the first geometry
18  CollisionGeometryPtr b; // the second geometry
19  double dist; // the signed distance
20  Point3d pa; // the closest point on geometry A
21  Point3d pb; // the closest point on geometry B
22 }; // end struct
23 
24 } // end namespace
25 
26 #endif
27 
boost::shared_ptr< CollisionGeometry > CollisionGeometryPtr
Collision geometry smart pointer.
Definition: Types.h:77
Ravelin::Vector3d Point3d
Typedef to distinguish between a 3D vector and a point.
Definition: Types.h:47
Structure for storing the pairwise distance between pointers to two CollisionGeometry objects...
Definition: PairwiseDistInfo.h:15