프로퍼티 | 타입 | 설명 | |
---|---|---|---|
Empty | |||
XMin | int |
메소드 | 설명 | |
---|---|---|
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 | ||
리턴 | System |
public BoundingBox ( |
||
pos | ||
widthX | int | |
widthY | int | |
height | int | |
리턴 | System |
public BoundingBox ( System.Xml.Linq.XElement root ) : System | ||
root | System.Xml.Linq.XElement | |
리턴 | 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 | |
리턴 | System |
public GetIntersection ( |
||
other | ||
리턴 |
public Serialize ( string customElementName ) : System.Xml.Linq.XElement | ||
customElementName | string | |
리턴 | System.Xml.Linq.XElement |