 | RectangleIIntersect Method |
Intersects this rectangle with the specified one, creating an intersection rectangle.
Namespace: Slash.Math.Geometry.RectanglesAssembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntaxpublic bool Intersect(
RectangleI rectangle,
out RectangleI intersectionRectangle
)
Public Function Intersect (
rectangle As RectangleI,
<OutAttribute> ByRef intersectionRectangle As RectangleI
) As Boolean
public:
bool Intersect(
RectangleI^ rectangle,
[OutAttribute] RectangleI^% intersectionRectangle
)
member Intersect :
rectangle : RectangleI *
intersectionRectangle : RectangleI byref -> bool
Parameters
- rectangle
- Type: Slash.Math.Geometry.RectanglesRectangleI
Rectangle to intersect with. - intersectionRectangle
- Type: Slash.Math.Geometry.RectanglesRectangleI
Intersection rectangle.
Return Value
Type:
BooleanTrue if the two rectangles intersect; otherwise, false.
See Also