ForgeDocs
Documentation for the forge framework
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Pages
Forge.Utilities.Bound Struct Reference

Public Member Functions

 Bound (Real x, Real y, Real radius)
 
bool Intersects (Bound other)
 Returns true if this bound is either intersecting or colliding with the other bound. More...
 
bool Contains (Vector2r point)
 Returns true if the given point is contained within this bound. More...
 
bool Contains (Real x, Real y)
 Returns true if the given point is contained within this bound. More...
 
override string ToString ()
 

Public Attributes

readonly Real X
 
readonly Real Y
 
readonly Real Radius
 

Member Function Documentation

bool Forge.Utilities.Bound.Contains ( Vector2r  point)

Returns true if the given point is contained within this bound.

bool Forge.Utilities.Bound.Contains ( Real  x,
Real  y 
)

Returns true if the given point is contained within this bound.

bool Forge.Utilities.Bound.Intersects ( Bound  other)

Returns true if this bound is either intersecting or colliding with the other bound.


The documentation for this struct was generated from the following file: