Table of Contents

Method Union

Namespace
LMKit.Graphics.Geometry
Assembly
LM-Kit.NET.dll

Union(IBounds)

Returns the smallest axis-aligned quadrilateral that contains this quadrilateral and other. This is the union of their axis-aligned bounding boxes (AABB).

public Quadrilateral Union(IBounds other)

Parameters

other IBounds

The other bounds to combine with.

Returns

Quadrilateral

A new axis-aligned Quadrilateral representing the AABB union of the two shapes.

Union(Quadrilateral)

Returns the AABB union of this quadrilateral and another quadrilateral, as a new axis-aligned quadrilateral.

public Quadrilateral Union(Quadrilateral other)

Parameters

other Quadrilateral

The other Quadrilateral to union with.

Returns

Quadrilateral

A new axis-aligned Quadrilateral.

Union(Quadrilateral, Quadrilateral)

Returns the AABB union of two quadrilaterals as an axis-aligned quadrilateral.

public static Quadrilateral Union(Quadrilateral a, Quadrilateral b)

Parameters

a Quadrilateral

The first quadrilateral.

b Quadrilateral

The second quadrilateral.

Returns

Quadrilateral

A new axis-aligned Quadrilateral representing the union.