Table of Contents

Method In

Namespace
Gamelogic.Grids2
Assembly
Gamelogic.Grids2.dll

In<TPoint>(IEnumerable<TPoint>, IImplicitShape<TPoint>)

Selects all the points in the list also in the given shape.

public static IEnumerable<TPoint> In<TPoint>(this IEnumerable<TPoint> points, IImplicitShape<TPoint> shape)

Parameters

points IEnumerable<TPoint>

The points.

shape IImplicitShape<TPoint>

The shape.

Returns

IEnumerable<TPoint>

Type Parameters

TPoint

The point type.

Remarks

note

You can also pass an explicit shape or grid for the shape parameter.