Click or drag to resize

LinePoint Structure

Represents 1D grid points. These are auto-convertible to integers, making it possible to write, for example, `grid[6]` instead of `grid[new LinePoint(6)]`.

Namespace:  Gamelogic.Grids
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
[VersionAttribute(1, 8, 0)]
public struct LinePoint : IGridPoint<LinePoint>, 
	IEquatable<LinePoint>, IGridPoint, IVectorPoint<LinePoint>, 
	ISplicedVectorPoint<LinePoint, LinePoint>

The LinePoint type exposes the following members.

Constructors
  NameDescription
Public methodLinePoint
Top
Properties
  NameDescription
Public propertySpliceCount
Public propertySpliceIndex
Public propertyX
Public propertyY
Top
Methods
Operators
Fields
  NameDescription
Public fieldStatic memberLeft
Add this to another LinePoint to get the point to the left (negative side) of the other point.
Public fieldStatic memberRight
Add this to another LinePoint to get the point to the right (positive side) of the other point.
Public fieldStatic memberZero
Top
Extension Methods
  NameDescription
Public Extension MethodThrowIfNull
Throws a NullReferenceException if the object is null.
(Defined by ObjectExtensions.)
Top
See Also