MapRectangleBitwiseAnd Operator |
Calculates the result of the intersection of rect1 and rect2.
If one of them is empty, the result is empty as well.
Namespace:
Ptv.XServer.Controls.Map
Assembly:
Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax public static MapRectangle operator &(
MapRectangle rect1,
MapRectangle rect2
)
Public Shared Operator And (
rect1 As MapRectangle,
rect2 As MapRectangle
) As MapRectangle
public:
static MapRectangle^ operator &(
MapRectangle^ rect1,
MapRectangle^ rect2
)
static let inline (&&&)
rect1 : MapRectangle *
rect2 : MapRectangle : MapRectangle
Parameters
- rect1
- Type: Ptv.XServer.Controls.MapMapRectangle
First rectangle to intersect. - rect2
- Type: Ptv.XServer.Controls.MapMapRectangle
Second rectangle to intersect.
Return Value
Type:
MapRectangleThe intersected rectangle is returned as a new instance.
See Also