Click or drag to resize

CairoPoint Structure

A coordinate for a cell in a CiaroGrid. The base point is a pointy hex point, and indices run from 0 to 3.

Namespace:  Gamelogic.Grids
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
[SerializableAttribute]
[VersionAttribute(1, 2, 0)]
[ExperimentalAttribute]
[ImmutableAttribute]
public struct CairoPoint : ISplicedPoint<CairoPoint, PointyHexPoint>, 
	IGridPoint<CairoPoint>, IEquatable<CairoPoint>, IGridPoint, 
	ISplicedVectorPoint<CairoPoint, PointyHexPoint>

The CairoPoint type exposes the following members.

Constructors
  NameDescription
Public methodCairoPoint
Top
Properties
  NameDescription
Public propertyBasePoint
Public propertyI
Public propertySpliceIndex
Public propertyX
Public propertyY
Public propertyZ
This is a redundant coordinate that is useful for certain algorithms and calculation. The coordinates of a triangle satsify this identity: X + Y + Z + I = 0.
Top
Methods
Operators
Fields
Extension Methods
  NameDescription
Public Extension MethodThrowIfNull
Throws a NullReferenceException if the object is null.
(Defined by ObjectExtensions.)
Top
Explicit Interface Implementations
See Also