Property | Type | Description | |
---|---|---|---|
Empty | |||
XMin | int |
Method | Description | |
---|---|---|
BoundingBox ( |
||
BoundingBox ( |
||
BoundingBox ( System.Xml.Linq.XElement root ) : System | ||
BoundingBox ( int x1, int y1, int h1, int x2, int y2, int h2 ) : System | ||
Contains ( |
Checks if another bounding box is wholly contained inside this one.
|
|
Contains ( int x, int y, int h ) : bool |
Checks if a given point is inside this bounding box.
|
|
GetIntersection ( |
Returns a BoundingBox object that describes the space shared between this and another box. Returns BoundingBox.Empty if there is no intersection.
|
|
Insersects ( |
Checks whether this bounding box intersects/touches another one.
|
|
Serialize ( ) : System.Xml.Linq.XElement | ||
Serialize ( string customElementName ) : System.Xml.Linq.XElement |
public BoundingBox ( |
||
p1 | ||
p2 | ||
return | System |
public BoundingBox ( |
||
pos | ||
widthX | int | |
widthY | int | |
height | int | |
return | System |
public BoundingBox ( System.Xml.Linq.XElement root ) : System | ||
root | System.Xml.Linq.XElement | |
return | System |
public BoundingBox ( int x1, int y1, int h1, int x2, int y2, int h2 ) : System | ||
x1 | int | |
y1 | int | |
h1 | int | |
x2 | int | |
y2 | int | |
h2 | int | |
return | System |
public Contains ( int x, int y, int h ) : bool | ||
x | int | |
y | int | |
h | int | |
return | bool |
public GetIntersection ( |
||
other | ||
return |
public Insersects ( |
||
other | ||
return | bool |
public Serialize ( ) : System.Xml.Linq.XElement | ||
return | System.Xml.Linq.XElement |
public Serialize ( string customElementName ) : System.Xml.Linq.XElement | ||
customElementName | string | |
return | System.Xml.Linq.XElement |