Table of Contents

Method Intersection

Namespace
Gamelogic.Grids2
Assembly
Gamelogic.Grids2.dll

Intersection<TPoint>(IEnumerable<IImplicitShape<TPoint>>)

Creates a generic Function Shape that works as a Generic Intersection.

public static IImplicitShape<TPoint> Intersection<TPoint>(IEnumerable<IImplicitShape<TPoint>> shapes)

Parameters

shapes IEnumerable<IImplicitShape<TPoint>>

IEnumerable list of shapes to intersect.

Returns

IImplicitShape<TPoint>

Type Parameters

TPoint

The type of the point.

Intersection<TPoint>(IImplicitShape<TPoint>, IImplicitShape<TPoint>)

Creates a generic Function Shape that works as a Generic Intersection.

public static IImplicitShape<TPoint> Intersection<TPoint>(IImplicitShape<TPoint> shape1, IImplicitShape<TPoint> shape2)

Parameters

shape1 IImplicitShape<TPoint>

First Shape.

shape2 IImplicitShape<TPoint>

Second Shape.

Returns

IImplicitShape<TPoint>

Type Parameters

TPoint

The type of the point.