cd_rigidCLL.h
Go to the documentation of this file.
1 #ifndef CD_RIGIDCLLH
2 #define CD_RIGIDCLLH
3 
13 #if _HAVE_RIGIDCLL
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  typedef void TrigidCLL;
34 
42  TrigidCLL *InitRigidCLL();
43 
54  unsigned int StartRigidCLLObject(TrigidCLL *r);
55 
67  void AddFixedSphere2RigidCLL(unsigned int id,double *center,double rad,TrigidCLL *r);
68 
80  void AddMobileSphere2RigidCLL(unsigned int id,double *center,double rad,TrigidCLL *r);
81 
89  void CloseRigidCLLObject(TrigidCLL *r);
90 
106  void ActivateCollisionsRigidCLL(unsigned int nr1,unsigned int nr2,TrigidCLL *r);
107 
122  void DeactivateCollisionsRigidCLL(unsigned int nr1,unsigned int nr2,TrigidCLL *r);
123 
136  boolean MoveAndCheckRigidCLL(THTransform *t,TrigidCLL *r);
137 
145  void DeleteRigidCLL(TrigidCLL *vc);
146 
147 #ifdef __cplusplus
148 }
149 #endif
150 
151 #endif
152 
153 #endif
Definition of the boolean type.
A homgeneous transform in R^3.
Definition of the THTransform type and the associated functions.