You should just go to the Box2D code on your machine and look at the function interface.
That's usually the first thing I try (along with the manual & google search) and most of the time I get it myself.
This is my first attempt at programming so apologize if I come off annoying ...
I assume this is what you mean by the function interface?
/// Test a point for containment in this fixture.
/// @param xf the shape world transform.
/// @param p a point in world coordinates.
bool TestPoint(const b2Vec2& p) const;
inline bool b2Fixture::TestPoint(const b2Vec2& p) const
return m_shape->TestPoint(m_body->GetTransform(), p);
It would seem I could just pass the fixture's corresponding body to GetTransform ...
So I tried:
b2Transform trans = MyBody->GetTransform();
if( MyFixture->TestPoint(trans, convertedTouch) ) doSomething;
error: no matching function for call to 'b2Fixture::TestPoint(b2Transform&, b2Vec2&)'
Started trying different permutations of calls with no luck.
Searching the forum I see plenty of examples of doing something like this but I don't see what I'm doing wrong here.
This example does the same thing I do believe within the code snippet:
b2Transform trans = body->GetTransform();http://www.box2d.org/forum/viewtopic.php?f=3&t=5582&p=26037&hilit=GetTransform#p26037
Again sorry for the noobish whining ...