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.BoundingBoxMath Class Reference

Math and extension methods for BoundingBox{T}. More...


Source file:

Remarks

Math and extension methods for BoundingBox{T}.

This contains many methods that could be considered "core" methods. they are implemented as extension methods instead for performance reasons, because as a generic class, BoundingBox{T} cannot do arithmetic quickly.

Static Public Member Functions

static void Deflate (this BoundingBox self, T amountX, T amountY)
 
static void Inflate (this BoundingBox self, T amountX, T amountY)
 
static BoundingBox Deflated (this BoundingBox self, T amountX, T amountY)
 
static BoundingBox Inflated (this BoundingBox self, T amountX, T amountY)
 
static T Width (this BoundingBox bb)
 
static T Height (this BoundingBox bb)
 
static Point< T > ProjectOnto (this Point< T > p, BoundingBox bbox)
 
static Point< T > Center (this BoundingBox< T > self)
 
static T Area (this BoundingBox bbox)
 
static void Deflate (this BoundingBox self, T amountX, T amountY)
 
static void Inflate (this BoundingBox self, T amountX, T amountY)
 
static BoundingBox Deflated (this BoundingBox self, T amountX, T amountY)
 
static BoundingBox Inflated (this BoundingBox self, T amountX, T amountY)
 
static T Width (this BoundingBox bb)
 
static T Height (this BoundingBox bb)
 
static Point< T > ProjectOnto (this Point< T > p, BoundingBox bbox)
 
static Point< T > Center (this BoundingBox< T > self)
 
static T Area (this BoundingBox bbox)
 
static void Deflate (this BoundingBox self, T amountX, T amountY)
 
static void Inflate (this BoundingBox self, T amountX, T amountY)
 
static BoundingBox Deflated (this BoundingBox self, T amountX, T amountY)
 
static BoundingBox Inflated (this BoundingBox self, T amountX, T amountY)
 
static T Width (this BoundingBox bb)
 
static T Height (this BoundingBox bb)
 
static Point< T > ProjectOnto (this Point< T > p, BoundingBox bbox)
 
static Point< T > Center (this BoundingBox< T > self)
 
static T Area (this BoundingBox bbox)
 
static Point< T > ProjectOnto< T > (this Point< T > p, BoundingBox< T > bbox)
 
static T Area< T > (this BoundingBox< T > bbox)