Learning of ig2_ Sphere_ Sphere_ ScGeom.cpp
Dear all,
I am learning the code of Yade about interaction, but that is very difficulty.
So I want to ask you to interpret the code of ig2_ Sphere_ Sphere_ ScGeom.cpp[1]
######l15~l22#####
1 bool Ig2_Sphere_
const shared_ptr<Shape>& cm1,
const shared_ptr<Shape>& cm2,
const State& state1,
const State& state2,
const Vector3r& shift2,
const bool& force,
const shared_
######
What does cm1, cm2,state1,shift2, force stand for in this function?
#######
2 const Se3r& se31 = state1.se3;
What does state.se3 stand for ?
#######
3 Vector3r normal = (se32.position + shift2) - se31.position;
What does normal stand for in this function?
Thanks in advance.
Shenyu
[1] https:/
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- xuanshenyu
- Solved:
- Last query:
- Last reply: