Documentation ¶
Index ¶
Constants ¶
View Source
const ( FieldPrecision = 2 SquarePrecision = 4 SubSquarePrecision = 6 ExtendedSquarePrecision = 8 SubExtendedSquarePrecision = 10 )
Variables ¶
This section is empty.
Functions ¶
func GridCenter ¶
GridCenter returns the center of the square grid
Types ¶
type Coordinate ¶
type SquareCoordinate ¶
type SquareCoordinate struct { Center Coordinate TopLeft Coordinate TopRight Coordinate BottomLeft Coordinate BottomRight Coordinate }
func Square ¶
func Square(locator string) (SquareCoordinate, error)
Square returns the coordinates of the vertices of the square grid
Click to show internal directories.
Click to hide internal directories.