Get contacts between sensor and ground

In fact I use these sensors to get if my character is next to a wall or if it's on the ground or such a platform.
Do the contacts points allow to get that ? If that so, it must be really interesting. Must I place contact points or get the point from the contact to see if it's at the good place ? (I'll try to find it by myself… but well :p)

Thanks !
You can find information about contacts in the manual.
Well I found that points are get from contacts right ?
But what I don't understand is how to get their positions…

What I want to do obeys to this scheme :
Code:
for(b2ContactEdge* ce = m_body->GetContactList(); ce; ce = ce->next)
{
   if //contact point is on the bottom of my body
      onGround = true;

   if //contact point is on left
      onLeft = true;
   …
}


Thank you

EDIT : Can I use the following to get what I want ?
b2Vec2 cp = ce->contact->GetManifold()->localPoint;
Up !

How can I just simply get if my body as contacts on his left for example ?
I tried with the code below but without a real success…
Code:
b2Vec2 cp = ce->contact->GetManifold()->localPoint;
if(isNear(cp.x, pos.x-body_width, 1) && isNear(cp.y, pos.y, body_height)) contactOnLeft = true;
//Note that isNear(n, p, m) returns ( n>=p-m && n<=p+m )
You can get the world points as shown in the manual: http://www.box2d.org/manual.html#_Toc258082975
Well... World points aren't mentioned in the Contact chapter...
Is it "b2Vec2 point = worldManifold.points[0];" ? If it is, I don't get what it represents. How can I know if this point correspond to the point I want to check ?

Up !

Could you help me please ? I'm lost with contacts… I just want to check if my character has contacts on the left or on the right to avoid him to stuck on the bodies it collides with because of a force I apply with the pad.
Please read the example code. Look at the testbed. It is all there.
Code:
b2WorldManifold worldManifold;
contact->GetWorldManifold(&worldManifold);

Original thread: https://box2d.org/forum/viewtopic.php?t=4909