Visual3D Game EngineAPI Documentation for XNA, C#, VB, and .NET
Like BoundingBox, but 2D.

Namespace: Visual3D
Assembly: Visual3D (in Visual3D.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

      
 C#  Visual Basic 
public struct BoundingBox2
Public Structure BoundingBox2

Members

            
 All Members  Fields   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
Include(MathUtil..::..BoundingBox2)
Extend our bounds to include specified region.
Include(Int32, Int32)
BUG: IsEmpty + Include(0, 0) => IsEmpty.
Include(Int32, Int32, Int32, Int32)
IsEmpty
ISSUE: Conflicts with representing a box that only includes point (0,0)! (Would be better to store Lim rather than Max, because Lim-Min=0 would unambiguously represent empty.)
Max
Min
Size

See Also