cd_fcl.h
Go to the documentation of this file.
1 #ifndef CD_FCLH
2 #define CD_FCLH
3 
13 #if _HAVE_FCL
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18  #include "htransform.h"
19  #include "boolean.h"
20 #ifdef __cplusplus
21 }
22 #endif
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
33  #define FCL_SPHERE 0
34 
40  #define FCL_CYLINDER 1
41 
47  #define FCL_MESH 2
48 
58  void *DefineFCLSphere(double r);
59 
71  void *DefineFCLCylinder(double r,double l);
72 
86  void *DefineFCLMesh(unsigned int nv,double **v,unsigned int nf,unsigned int *nvf,unsigned int **fv);
87 
105  boolean FCLTest(boolean info,
106  void *h1,THTransform *tr1,
107  void *h2,THTransform *tr2,
108  double *point,double *normal);
109 
125  boolean FCLCTest(void *h1,THTransform *tr1,THTransform *tr2,
126  void *h2,THTransform *tr3,THTransform *tr4);
127 
133  void DeleteFCLObject(void *h);
134 
135 #ifdef __cplusplus
136 }
137 #endif
138 
139 #endif
140 
141 #endif
Definition of the boolean type.
A homgeneous transform in R^3.
Definition of the THTransform type and the associated functions.