Show / Hide Table of Contents

Class TriangleBound

Inheritance
object
TriangleBound
Implements
IBound
IEnumerable<Cell>
IEnumerable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Sylves
Assembly: Sylves.dll
Syntax
public class TriangleBound : IBound, IEnumerable<Cell>, IEnumerable

Constructors

TriangleBound(Vector3Int, Vector3Int)

Declaration
public TriangleBound(Vector3Int min, Vector3Int mex)
Parameters
Type Name Description
Vector3Int min
Vector3Int mex

Properties

Max

Declaration
public Vector3Int Max { get; set; }
Property Value
Type Description
Vector3Int

Mex

Declaration
public Vector3Int Mex { get; set; }
Property Value
Type Description
Vector3Int

Min

Declaration
public Vector3Int Min { get; set; }
Property Value
Type Description
Vector3Int

Methods

Contains(Cell)

Declaration
public bool Contains(Cell v)
Parameters
Type Name Description
Cell v
Returns
Type Description
bool

GetEnumerator()

Declaration
public IEnumerator<Cell> GetEnumerator()
Returns
Type Description
IEnumerator<Cell>

Hexagon(int)

Declaration
public static TriangleBound Hexagon(int radius)
Parameters
Type Name Description
int radius
Returns
Type Description
TriangleBound

Intersect(TriangleBound)

Declaration
public TriangleBound Intersect(TriangleBound other)
Parameters
Type Name Description
TriangleBound other
Returns
Type Description
TriangleBound

Union(TriangleBound)

Declaration
public TriangleBound Union(TriangleBound other)
Parameters
Type Name Description
TriangleBound other
Returns
Type Description
TriangleBound

Implements

IBound
IEnumerable<T>
IEnumerable
In this article
Back to top Generated by DocFX