Click or drag to resize

PointyHexPointIsInsideHexagon Method (PointyHexPoint, Int32)

Whether this point is in the hexagon with the given radius and given center. A single point is considered a hexagon with zero radius. see http://devmag.org.za/2013/08/31/geometry-with-hex-coordinates/ Since version 1.3

Namespace:  Gamelogic.Grids
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public bool IsInsideHexagon(
	PointyHexPoint center,
	int radius
)

Parameters

center
Type: Gamelogic.GridsPointyHexPoint
radius
Type: SystemInt32

Return Value

Type: Boolean
See Also