Click or drag to resize

PointyTriPoint Structure

A struct that represents a point of a PointyTriGrid.

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 PointyTriPoint : ISupportsVertices<FlatHexPoint>, 
	ISupportsEdges<FlatRhombPoint>, IVertex<FlatHexPoint>, ISplicedPoint<PointyTriPoint, FlatHexPoint>, 
	IGridPoint<PointyTriPoint>, IEquatable<PointyTriPoint>, IGridPoint, 
	ISplicedVectorPoint<PointyTriPoint, FlatHexPoint>

The PointyTriPoint type exposes the following members.

Constructors
  NameDescription
Public methodPointyTriPoint
Top
Properties
  NameDescription
Public propertyAsHexPoint
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
  NameDescription
Public fieldStatic memberEdgeDirections
Public fieldStatic memberMainDirections
Public fieldStatic memberSpliceCount
Public fieldStatic memberVertexDirections
I want it private, but the other part of the class needs it
Public fieldStatic memberVertexFaceDirections
Public fieldStatic memberZero
Top
Extension Methods
  NameDescription
Public Extension MethodThrowIfNull
Throws a NullReferenceException if the object is null.
(Defined by ObjectExtensions.)
Top
Explicit Interface Implementations
See Also