Esempio n. 1
0
 /// <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();
 }
Esempio n. 3
0
 /// 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;
 }
Esempio n. 4
0
 public bool InRange(B2AABB aabb)
 {
     return false;
 }
Esempio n. 5
0
 public bool TestOverlap(B2AABB b)
 {
     return false;
 }
Esempio n. 6
0
 /// Does this aabb contain the provided AABB.
 public bool Contains(B2AABB b2Aabb)
 {
     return false;
 }
Esempio n. 7
0
 /// Combine two AABBs into this one.
 public B2AABB Combine(B2AABB aabb1, B2AABB aabb2)
 {
     return null;
 }