Table of Contents

Class ExplicitShape.ExplicitShape3

Namespace
Gamelogic.Grids2
Assembly
Gamelogic.Grids2.dll

Concrete implementation of a 3D ExplicitShape.

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

Constructors

ExplicitShape3(IImplicitShape<GridPoint3>, AbstractBounds<GridPoint3>)

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

Fields

BigBounds

A big bounds centered at the origin.

empty

Properties

Bounds

Returns a bounding shape that contains this explicit shape.

Points

Gets all the points this shape contains.

Methods

Contains(GridPoint3)

Determines whether this implicit shape contains the specified point.

Intersection(ExplicitShape3)

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 within its rectangular bounds.

Translate(GridPoint3)

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

Union(ExplicitShape3)

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