Enhanced C#
Language of your choice: library documentation

Documentation moved to ecsharp.net

GitHub doesn't support HTTP redirects, so you'll be redirected in 3 seconds.

 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Static Public Member Functions | List of all members
Loyc.Geometry.BoundingBoxExt Class Reference

Extension methods for BoundingBox{T}. More...


Source file:

Remarks

Extension methods for BoundingBox{T}.

Static Public Member Functions

static void Normalize< T > (this BoundingBox< T > self)
 
static BoundingBox< T > Union< T > (this BoundingBox< T > self, BoundingBox< T > b)
 
static BoundingBox< T > Intersect< T > (this BoundingBox< T > self, BoundingBox< T > b)
 
static bool ExpandToInclude< T > (this BoundingBox< T > self, Point< T > point)
 
static bool ExpandToInclude< T > (this BoundingBox< T > self, IEnumerable< Point< T >> points)
 
static bool Contains< T > (this BoundingBox< T > self, Point< T > point)
 
static bool Contains< T > (this BoundingBox< T > self, BoundingBox< T > other)
 
static bool Overlaps< T > (this BoundingBox< T > self, BoundingBox< T > other)
 
static void Inflate< T > (this BoundingBox< T > self, T amount)
 
static void Deflate< T > (this BoundingBox< T > self, T amount)
 
static void Deflate< T > (this BoundingBox< T > self, T amountX, T amountY)
 
static void Inflate< T > (this BoundingBox< T > self, T amountX, T amountY)
 
static BoundingBox< T > Inflated< T > (this BoundingBox< T > self, T amountX, T amountY)
 
static BoundingBox< T > Deflated< T > (this BoundingBox< T > self, T amountX, T amountY)
 
static Point< T > Center< T > (this BoundingBox< T > self)
 
static BoundingBox< T > ToBoundingBox< T > (this IEnumerable< Point< T >> pts)
 
static BoundingBox< T > ToBoundingBox< T > (this IEnumerator< Point< T >> e)
 
static BoundingBox< T > ToBoundingBox< T > (this LineSegment< T > seg)
 
static BoundingBox< T > Union< T > (this IEnumerable< BoundingBox< T >> e)
 
static BoundingBox< T > Union< T > (this IEnumerator< BoundingBox< T >> e)
 
static System.Drawing.Rectangle AsBCL (this BoundingBox< int > bbox)
 
static System.Drawing.RectangleF AsBCL (this BoundingBox< float > bbox)