LayerProcGen v0.1.0
Layer-based infinite procedural generation
Loading...
Searching...
No Matches
GridBounds3

Inherits IEquatable< GridBounds3 >.

Public Member Functions

bool Contains (GridBounds3 bounds)
 
bool Contains (Point3 point)
 
void Encapsulate (GridBounds3 bounds)
 
void Encapsulate (Point3 point)
 
bool Equals (GridBounds3 other)
 
override bool Equals (object obj)
 
void Expand (int left, int right, int up, int down, int front, int back)
 
GridBounds3 GetDivided (Point3 scale)
 
GridBounds3 GetExpanded (int left, int right, int up, int down, int front, int back)
 
GridBounds3 GetExpanded (int leftRight, int upDown, int frontBack)
 
override int GetHashCode ()
 
GridBounds3 GetIntersection (GridBounds3 other)
 
 GridBounds3 (int minX, int minY, int minZ, int width, int height, int depth)
 
 GridBounds3 (Point3 min, Point3 size)
 
override string ToString ()
 

Static Public Member Functions

static GridBounds3 Empty ()
 
static GridBounds3 MinMax (int minX, int minY, int minZ, int maxX, int maxY, int maxZ)
 
static GridBounds3 MinMax (Point3 min, Point3 max)
 
static bool operator!= (GridBounds3 a, GridBounds3 b)
 
static bool operator== (GridBounds3 a, GridBounds3 b)
 

Public Attributes

Point3 max
 
Point3 min
 

Properties

Point3 center [get]
 
bool empty [get]
 
Point3 size [get]
 
GridBounds xy [get]
 
GridBounds xz [get]
 
GridBounds yz [get]