Enhanced C#
Language of your choice: library documentation
|
Math and extension methods for BoundingBox{T}. More...
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) |