Question #188032 on Yade changed: https://answers.launchpad.net/yade/+question/188032
Chareyre proposed the following answer: To start with that, you can take an example of shape and see how it is defined. Let us consider boxes: - Box.hpp/cpp - Bo1_Box_Aabb.* Then interactions with boxes: - Ig2_Box_Sphere_ScGeom.* Basically, you need to write the same code for cones. There is no obligation to split in three files, you can write everything in one hpp and one cpp if it is more convenient. A few other things can be also in separate functions, like computing the mass and inertia matrix of arbitrary cone, but it is not required for testing (you can always assign inertia in the testing script). -- You received this question notification because you are a member of yade-users, which is an answer contact for Yade. _______________________________________________ Mailing list: https://launchpad.net/~yade-users Post to : [email protected] Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp

