Box.intersection

bool intersection(graphene.box.Box b, out graphene.box.Box res)

Intersects the two given #graphene_box_t.

If the two boxes do not intersect, res will contain a degenerate box initialized with [graphene.box.Box.empty].

Parameters

ba #graphene_box_t
resreturn location for the result

Returns

true if the two boxes intersect