Click or drag to resize

FlatTriPoint Structure

A struct that represents a point of a FlatTriGrid.

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

The FlatTriPoint type exposes the following members.

Constructors
  NameDescription
Public methodFlatTriPoint
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