MeshBaker
DigitalOpus.MB.Core.DRect Struct Reference

Public Member Functions

 DRect (Rect r)
 
 DRect (Vector2 o, Vector2 s)
 
 DRect (float xx, float yy, float w, float h)
 
 DRect (double xx, double yy, double w, double h)
 
Rect GetRect ()
 
override bool Equals (object obj)
 
override string ToString ()
 
bool Encloses (DRect smallToTestIfFits)
 
override int GetHashCode ()
 

Static Public Member Functions

static bool operator== (DRect a, DRect b)
 
static bool operator!= (DRect a, DRect b)
 

Public Attributes

double x
 
double y
 
double width
 
double height
 

Properties

Vector2 min [get]
 
Vector2 max [get]
 
Vector2 size [get]
 

Constructor & Destructor Documentation

§ DRect() [1/4]

DigitalOpus.MB.Core.DRect.DRect ( Rect  r)

§ DRect() [2/4]

DigitalOpus.MB.Core.DRect.DRect ( Vector2  o,
Vector2  s 
)

§ DRect() [3/4]

DigitalOpus.MB.Core.DRect.DRect ( float  xx,
float  yy,
float  w,
float  h 
)

§ DRect() [4/4]

DigitalOpus.MB.Core.DRect.DRect ( double  xx,
double  yy,
double  w,
double  h 
)

Member Function Documentation

§ Encloses()

bool DigitalOpus.MB.Core.DRect.Encloses ( DRect  smallToTestIfFits)

§ Equals()

override bool DigitalOpus.MB.Core.DRect.Equals ( object  obj)

§ GetHashCode()

override int DigitalOpus.MB.Core.DRect.GetHashCode ( )

§ GetRect()

Rect DigitalOpus.MB.Core.DRect.GetRect ( )

§ operator!=()

static bool DigitalOpus.MB.Core.DRect.operator!= ( DRect  a,
DRect  b 
)
static

§ operator==()

static bool DigitalOpus.MB.Core.DRect.operator== ( DRect  a,
DRect  b 
)
static

§ ToString()

override string DigitalOpus.MB.Core.DRect.ToString ( )

Member Data Documentation

§ height

double DigitalOpus.MB.Core.DRect.height

§ width

double DigitalOpus.MB.Core.DRect.width

§ x

double DigitalOpus.MB.Core.DRect.x

§ y

double DigitalOpus.MB.Core.DRect.y

Property Documentation

§ max

Vector2 DigitalOpus.MB.Core.DRect.max
get

§ min

Vector2 DigitalOpus.MB.Core.DRect.min
get

§ size

Vector2 DigitalOpus.MB.Core.DRect.size
get

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