Table of Contents

Class ExplicitShape.ExplicitShape1

Namespace
Gamelogic.Grids2
Assembly
Gamelogic.Grids2.dll

Concrete implementation of a 1D ExplicitShape.

[Serializable]
public sealed class ExplicitShape.ExplicitShape1 : IExplicitShape<int>, IImplicitShape<int>
Inheritance
ExplicitShape.ExplicitShape1
Implements
Inherited Members
Extension Methods

Constructors

ExplicitShape1(IImplicitShape<int>, AbstractBounds<int>)

Constructs a new explicit shape from the given implicit shape and bounds.

Fields

BigInterval

A big interval centered at the origin.

Properties

Bounds

Returns a bounding shape that contains this explicit shape.

Points

Gets all the points this shape contains.

Methods

Contains(int)

Determines whether this implicit shape contains the specified point.

Intersection(ExplicitShape1)

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

InverseInRect()

Creates a new explicit shape that is the inverse of this shape.

Translate(int)

Creates a new explicit shape that is a translation of this shape.

Union(ExplicitShape1)

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