/// <summary> /// Given a transform, compute the associated axis aligned bounding box for this shape. /// </summary> /// <param name="aabb">Returns the axis aligned box.</param> /// <param name="xf">The world transform of the shape.</param> public abstract void ComputeAABB(out B2AABB aabb, B2Transform xf);
public override void ComputeAABB(out B2AABB aabb, B2Transform xf) { aabb = new B2AABB(); }
/// Query the world for all shapes that potentially overlap the /// provided AABB. You provide a shape pointer buffer of specified /// size. The number of shapes found is returned. /// @param aabb the query box. /// @return the number of shapes found in aabb. public int QueryAABB(Action callback, B2AABB aabb) { return 0; }
public bool InRange(B2AABB aabb) { return false; }
public bool TestOverlap(B2AABB b) { return false; }
/// Does this aabb contain the provided AABB. public bool Contains(B2AABB b2Aabb) { return false; }
/// Combine two AABBs into this one. public B2AABB Combine(B2AABB aabb1, B2AABB aabb2) { return null; }