Table of Contents

Method Intersection

Namespace
Gamelogic.Grids2
Assembly
Gamelogic.Grids2.dll

Intersection(ExplicitShape2)

Creates a new explicit shape that is the intersection of this shape and another shape.

public ExplicitShape.ExplicitShape2 Intersection(ExplicitShape.ExplicitShape2 shape2)

Parameters

shape2 ExplicitShape.ExplicitShape2

The shape to intersect with.

Returns

ExplicitShape.ExplicitShape2

The intersection of the two shapes as a new ExplicitShape2.