Show / Hide Table of Contents

Class TriangleBound

Inheritance
System.Object
TriangleBound
Implements
IBound
System.Collections.Generic.IEnumerable<Cell>
System.Collections.IEnumerable
Namespace: Sylves
Assembly: Sylves.dll
Syntax
public class TriangleBound : Object, IBound

Constructors

TriangleBound(Vector3Int, Vector3Int)

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

Fields

max

Declaration
public Vector3Int max
Field Value
Type Description
Vector3Int

min

Declaration
public Vector3Int min
Field Value
Type Description
Vector3Int

Methods

Contains(Cell)

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

GetEnumerator()

Declaration
public IEnumerator<Cell> GetEnumerator()
Returns
Type Description
System.Collections.Generic.IEnumerator<Cell>

Hexagon(Int32)

Declaration
public static TriangleBound Hexagon(int radius)
Parameters
Type Name Description
System.Int32 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
System.Collections.Generic.IEnumerable<>
System.Collections.IEnumerable
In This Article
Back to top Generated by DocFX