[ODE] how to get a geom class type.

Si Brown si at sjbrown.co.uk
Sun Oct 27 13:32:01 2002


Use the dGeomGetClass function, and compare the result with the statically
defined class numbers such as dSphereClass, dBoxClass, etc. Have a look in
the documentation(!) and geom.h for more details.

Si

----- Original Message -----
From: "Chavent Paul" <paul.chavent@fnac.net>
To: <ode@q12.org>
Sent: Sunday, October 27, 2002 7:15 PM
Subject: [ODE] how to get a geom class type.


> Hello i'am french.
> I'am a new user.
> This is very exiting to play with this library, so thanks to its author.
>
> I have a question for you. Knowing a dGeomID geom how can i get its
> class (it is a cube, a sphere, a caped cylinder ????).
> I'have already try to found how the structure of a dGeomID is made, but
> i'am not sure.
>
> thanks !
>
>
> _______________________________________________
> ODE mailing list
> ODE@q12.org
> http://q12.org/mailman/listinfo/ode
>