Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait LayerHcRefSys[A]trait LayerHcRef[A]trait LayerTcRef[A]class AnyValtrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Fills in the whole given row. An exception is thrown if the tile values don't match with the end of the row.
Fills in the whole given row. An exception is thrown if the tile values don't match with the end of the row.
Attributes
Spawns a new LayerHcRefSys data layer from this LayerHcRefSys's HGridSys to the child HGridSys. There is a name overload for this method that passes the child HGridSys implicitly.
Spawns a new LayerHcRefSys data layer from this LayerHcRefSys's HGridSys to the child HGridSys. There is a name overload for this method that passes the child HGridSys implicitly.
Attributes
- Definition Classes
Inherited methods
Attributes
- Inherited from:
- LayerHcRefSys
Apply method returns a data element from this data layer for the given HCen.
Apply method returns a data element from this data layer for the given HCen.
Attributes
- Inherited from:
- LayerHcRef
Apply method returns a data element from this data layer for the given HCen. The appropriate index is found from the implicit HGridSys. There is an alternative nme overload where the HGridSys is passed explicitly as the first parameter.
Apply method returns a data element from this data layer for the given HCen. The appropriate index is found from the implicit HGridSys. There is an alternative nme overload where the HGridSys is passed explicitly as the first parameter.
Attributes
- Inherited from:
- LayerHcRef
For each element in the underlying array performs the side effecting function. This method treats the LayerTcRef class like a standard Arr or Array. It does not utilise the grid TGrid from which this LayerTcRef was created.
For each element in the underlying array performs the side effecting function. This method treats the LayerTcRef class like a standard Arr or Array. It does not utilise the grid TGrid from which this LayerTcRef was created.
Attributes
- Inherited from:
- LayerTcRef
Attributes
- Inherited from:
- LayerHcRefSys
HCen with flatmap. Applies the function to each HCen coordinate with the corresponding element in the underlying array. Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods' (accumulator, element) => B signature.
HCen with flatmap. Applies the function to each HCen coordinate with the corresponding element in the underlying array. Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods' (accumulator, element) => B signature.
Attributes
- Inherited from:
- LayerHcRef
HCen with foreach. Applies the side effecting function to the HCen coordinate with its respective element. Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods' (accumulator, element) => B signature.
HCen with foreach. Applies the side effecting function to the HCen coordinate with its respective element. Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods' (accumulator, element) => B signature.
Attributes
- Inherited from:
- LayerHcRef
HCen with map. Applies the function to each HCen coordinate with the corresponding element in the underlying array. Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods' (accumulator, element) => B signature.
HCen with map. Applies the function to each HCen coordinate with the corresponding element in the underlying array. Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods' (accumulator, element) => B signature.
Attributes
- Inherited from:
- LayerHcRef
HCen with optFlatmap. Applies the function to each HCen coordinate with the corresponding element in the underlying array. Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods' (accumulator, element) => B signature.
HCen with optFlatmap. Applies the function to each HCen coordinate with the corresponding element in the underlying array. Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods' (accumulator, element) => B signature.
Attributes
- Inherited from:
- LayerHcRef
Maps each data element with thw corresponding HCen to an Option of type B. Collects the Some's values. The length of the returned Arr will be between 0 and the length of this LayerHcRefSys.
Maps each data element with thw corresponding HCen to an Option of type B. Collects the Some's values. The length of the returned Arr will be between 0 and the length of this LayerHcRefSys.
Attributes
- Inherited from:
- LayerHcRef
The number of tile centres this array of data represents.
FlatMaps the links / inner sides to an immutable Array, using the data of this HCenArr. It takes a function, that takes the HSep and the two adjacent hex tile data values.
FlatMaps the links / inner sides to an immutable Array, using the data of this HCenArr. It takes a function, that takes the HSep and the two adjacent hex tile data values.
Attributes
- Inherited from:
- LayerHcRefSys
Maps the links or inner sides to an immutable Array, using the data of this HCenArr. It takes a function for the links or inner sides of the grid that takes the HSep and the two adjacent hex tile data values.
Maps the links or inner sides to an immutable Array, using the data of this HCenArr. It takes a function for the links or inner sides of the grid that takes the HSep and the two adjacent hex tile data values.
Attributes
- Inherited from:
- LayerHcRefSys
Each element in the underlying array is mapped by the parameter function to an element of type B. This method treat the HCenArr class like a standard Arr or Array. It does not utilise the grid HGrid from which this HCenArr was created.
Each element in the underlying array is mapped by the parameter function to an element of type B. This method treat the HCenArr class like a standard Arr or Array. It does not utilise the grid HGrid from which this HCenArr was created.
Attributes
- Inherited from:
- LayerTcRef
Set all tiles to the given value.
Attributes
- Inherited from:
- LayerHcRef
Attributes
- Inherited from:
- LayerHcRefSys
Maps the visible HCens in the projection with their respective projection Pt2 tile centre points and the data layer element form this collection to GraphicElems. This method name overload takes the HSysProjection as an explicit first parameter list. The other name overload takes it as an implicit parameter.In practice this method may be of limited utility. It may be better to use the the HSysProjection or another class as the dispatching object and access these data layer elements by the HCen apply methods.
Maps the visible HCens in the projection with their respective projection Pt2 tile centre points and the data layer element form this collection to GraphicElems. This method name overload takes the HSysProjection as an explicit first parameter list. The other name overload takes it as an implicit parameter.In practice this method may be of limited utility. It may be better to use the the HSysProjection or another class as the dispatching object and access these data layer elements by the HCen apply methods.
Attributes
- Inherited from:
- LayerHcRefSys
Maps the visible HCens in the projection with their respective projection Pt2 tile centre points and the data layer element form this collection to GraphicElems. This method name overload takes the HSysProjection as an implicit parameter. The other name overload takes it as an explicit first parameter list. In practice this method may be of limited utility. It may be better to use the the HSysProjection or another class as the dispatching object and access these data layer elements by the HCen apply methods.
Maps the visible HCens in the projection with their respective projection Pt2 tile centre points and the data layer element form this collection to GraphicElems. This method name overload takes the HSysProjection as an implicit parameter. The other name overload takes it as an explicit first parameter list. In practice this method may be of limited utility. It may be better to use the the HSysProjection or another class as the dispatching object and access these data layer elements by the HCen apply methods.
Attributes
- Inherited from:
- LayerHcRefSys
Maps the sides to an immutable Array, using the data of this HCenArr. It takes two functions, one for the edges of the grid, that takes the HSep and the single adjacent hex tile data value and one for the inner sides of the grid that takes the HSep and the two adjacent hex tile data values.
Maps the sides to an immutable Array, using the data of this HCenArr. It takes two functions, one for the edges of the grid, that takes the HSep and the single adjacent hex tile data value and one for the inner sides of the grid that takes the HSep and the two adjacent hex tile data values.
Attributes
- Inherited from:
- LayerHcRefSys
Maps the sides to an immutable Array, using the data of this HCenArr. It takes two functions, one for the edges of the grid, that takes the HSep and the single adjacent hex tile data value and one for the inner sides of the grid that takes the HSep and the two adjacent hex tile data values.
Maps the sides to an immutable Array, using the data of this HCenArr. It takes two functions, one for the edges of the grid, that takes the HSep and the single adjacent hex tile data value and one for the inner sides of the grid that takes the HSep and the two adjacent hex tile data values.
Attributes
- Inherited from:
- LayerHcRefSys
implementation not correct, Comment not correct, Maps the sides to an immutable Array, using the data of this HCenArr. It takes two functions, one for the edges of the grid, that takes the HSep and the single adjacent hex tile data value and one for the inner sides of the grid that takes the HSep and the two adjacent hex tile data values.
implementation not correct, Comment not correct, Maps the sides to an immutable Array, using the data of this HCenArr. It takes two functions, one for the edges of the grid, that takes the HSep and the single adjacent hex tile data value and one for the inner sides of the grid that takes the HSep and the two adjacent hex tile data values.
Attributes
- Inherited from:
- LayerHcRefSys
Comment no correct, Maps the sides to an immutable Array, using the data of this LayerHcRefSys. It takes two functions, one for the edges of the grid, that takes the HSep and the single adjacent hex tile data value and one for the inner sides of the grid that takes the HSep and the two adjacent hex tile data values.
Comment no correct, Maps the sides to an immutable Array, using the data of this LayerHcRefSys. It takes two functions, one for the edges of the grid, that takes the HSep and the single adjacent hex tile data value and one for the inner sides of the grid that takes the HSep and the two adjacent hex tile data values.
Attributes
- Inherited from:
- LayerHcRefSys
Maps the sides to an immutable Array, using the data of this HCenArr. It takes two functions, one for the edges of the grid, that takes the HSep and the single adjacent hex tile data value and one for the inner sides of the grid that takes the HSep and the two adjacent hex tile data values.
Maps the sides to an immutable Array, using the data of this HCenArr. It takes two functions, one for the edges of the grid, that takes the HSep and the single adjacent hex tile data value and one for the inner sides of the grid that takes the HSep and the two adjacent hex tile data values.
Attributes
- Inherited from:
- LayerHcRefSys
Maps the sides to an immutable Array, using the data of this LayerHcRefSys. It takes two functions, one for the edges of the grid, that takes the HSep and the single adjacent hex tile data value and one for the inner sides of the grid that takes the HSep and the two adjacent hex tile data values.
Maps the sides to an immutable Array, using the data of this LayerHcRefSys. It takes two functions, one for the edges of the grid, that takes the HSep and the single adjacent hex tile data value and one for the inner sides of the grid that takes the HSep and the two adjacent hex tile data values.
Attributes
- Inherited from:
- LayerHcRefSys
Attributes
- Inherited from:
- LayerHcRefSys
Attributes
- Inherited from:
- LayerHcRefSys
Attributes
- Inherited from:
- LayerHcRefSys
Attributes
- Inherited from:
- LayerHcRefSys
Attributes
- Inherited from:
- LayerHcRefSys
Maps the sides to an immutable Array, using the data of this HCenArr. It takes two functions, one for the edges of the grid, that takes the HSep and the single adjacent hex tile data value and one for the inner sides of the grid that takes the HSep and the two adjacent hex tile data values.
Maps the sides to an immutable Array, using the data of this HCenArr. It takes two functions, one for the edges of the grid, that takes the HSep and the single adjacent hex tile data value and one for the inner sides of the grid that takes the HSep and the two adjacent hex tile data values.
Attributes
- Inherited from:
- LayerHcRefSys
Attributes
- Inherited from:
- LayerHcRef
Attributes
- Inherited from:
- LayerHcRef
Attributes
- Inherited from:
- LayerHcRefSys
Attributes
- Inherited from:
- LayerHcRef
Attributes
- Inherited from:
- LayerHcRef
Completes the given row from the given starting c column value to the end of the row. An exception is thrown if the tile values don't match with the end of the row.
Completes the given row from the given starting c column value to the end of the row. An exception is thrown if the tile values don't match with the end of the row.
Attributes
- Inherited from:
- LayerHcRefSys
Attributes
- Inherited from:
- LayerHcRefSys
Sets the given row from the given starting c column value, for the given number of tile centre values. An exception is thrown if the numOfCens overflows the row end.
Sets the given row from the given starting c column value, for the given number of tile centre values. An exception is thrown if the numOfCens overflows the row end.
Attributes
- Inherited from:
- LayerHcRefSys
Fills in the whole given row, with the same given value. This method has anme overload where the grid is passed implicitly.
Fills in the whole given row, with the same given value. This method has anme overload where the grid is passed implicitly.
Attributes
- Inherited from:
- LayerHcRefSys
Fills in the whole given row, with the same given value. This method has anme overload where the grid is passed explicitly as the first parameter.
Fills in the whole given row, with the same given value. This method has anme overload where the grid is passed explicitly as the first parameter.
Attributes
- Inherited from:
- LayerHcRefSys
Sets the given row from the start of the row, for the given number of tile centre values. An exception is thrown if the numOfCens overflows the row end.
Sets the given row from the start of the row, for the given number of tile centre values. An exception is thrown if the numOfCens overflows the row end.
Attributes
- Inherited from:
- LayerHcRefSys
Maps the sides to an immutable Array, using the data of this HCenArr. It takes two functions, one for the edges of the grid, that takes the HSep and the single adjacent hex tile data value and one for the inner sides of the grid that takes the HSep and the two adjacent hex tile data values.
Maps the sides to an immutable Array, using the data of this HCenArr. It takes two functions, one for the edges of the grid, that takes the HSep and the single adjacent hex tile data value and one for the inner sides of the grid that takes the HSep and the two adjacent hex tile data values.
Attributes
- Inherited from:
- LayerHcRefSys
Maps the sides to an immutable Array, using the data of this HCenArr. It takes two functions, one for the edges of the grid, that takes the HSep and the single adjacent hex tile data value and one for the inner sides of the grid that takes the HSep and the two adjacent hex tile data values.
Maps the sides to an immutable Array, using the data of this HCenArr. It takes two functions, one for the edges of the grid, that takes the HSep and the single adjacent hex tile data value and one for the inner sides of the grid that takes the HSep and the two adjacent hex tile data values.
Attributes
- Inherited from:
- LayerHcRefSys
Spawns a new LayerHcRefSys data layer from this LayerHcRefSys's HGridSys to the child HGridSys, passed as implicit parameter. There is a name overload for this method that passes the child HGridSys explicitly.
Spawns a new LayerHcRefSys data layer from this LayerHcRefSys's HGridSys to the child HGridSys, passed as implicit parameter. There is a name overload for this method that passes the child HGridSys explicitly.
Attributes
- Inherited from:
- LayerHcRefSys
Concrete fields
The mutable backing Array. End users should rarely if ever have to access this field
The mutable backing Array. End users should rarely if ever have to access this field