Debug draw without a world

Hello there,
I'm using Box2d just for collision detection and not physics. I'm doing:
Code:
b2Manifold manifold;
b2PolygonShape A,B;

//... store the width.height with setBox for the shape region

b2Transform transA, transB;

//... store the position location and angle of shape A and B into transform with Set.

b2CollidePolygons(&manifold, A, transA, B, transB);
if(manifold.m_pointCount > 0){
   NSLog(@"collided");
}


to check for collisions(all without a world).
But now I need some debug draw, can I have it without having a world ?
Another question is, can I use this method for bullets ? Since "isBullet" property is for bodies only.

Thanks for your time
Parsa
You can create a b2DebugDraw class to help with drawing. Then you can just copy the drawing functions out of b2World.

You should find some tests in the testbed that are doing pure collision without using the world. These tests do some drawing.

Use b2TimeOfImpact to get bullet results.

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