Show / Hide Table of Contents

Operator Coord.implicit operator(+ 2 overloads)


Overload

Creates Coord of Normal type.

public static implicit operator Coord(int v)
Parameters
v  (int)
Returns
Coord

Overload(next)

Creates Coord of Normal or Reverse type. Reverse if the index is from end, like ^1.

public static implicit operator Coord(Index v)
Parameters
v  (Index)
Returns
Coord

Overload(top)

Creates Coord of Fraction type.

public static implicit operator Coord(float v)
Parameters
v  (float)
Returns
Coord