Uranium
Application Framework
Loading...
Searching...
No Matches
UM.Math.AxisAlignedBox2D.AxisAlignedBox2D Class Reference

Public Member Functions

None __init__ (self, numpy.ndarray minimum, numpy.ndarray maximum)
 
"AxisAlignedBox2D" __iadd__ (self, object other)
 
float width (self)
 
float height (self)
 
float left (self)
 
float right (self)
 
float bottom (self)
 
float top (self)
 
bool isValid (self)
 
str __repr__ (self)
 

Protected Attributes

 _min
 
 _max
 

Detailed Description

Axis aligned 2D bounding box.

Member Function Documentation

◆ isValid()

bool UM.Math.AxisAlignedBox2D.AxisAlignedBox2D.isValid ( self)
Check if the bounding box is valid.
Uses fuzzycompare to validate.
:sa Float::fuzzyCompare()

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