Box.intersection

Intersects the two given #graphene_box_t.

If the two boxes do not intersect, @res will contain a degenerate box initialized with graphene_box_empty().

class Box
bool
intersection
(,
out Box res
)

Parameters

b Box

a #graphene_box_t

res Box

return location for the result

Return Value

Type: bool

true if the two boxes intersect

Meta