HCenOptLayer
A HGridSys data layer of optional tile data. This is specialised for OptRef[A]. The tileGrid can map the HCen coordinate of the tile to the index of the Arr. Hence most methods take an implicit HGridSys hex grid parameter.
Attributes
- Graph
- Supertypes
Members list
Type members
Types
Value members
Concrete methods
Indexes in to this HCenOptLayer using the tile centre coordinate, either passed as an HCen or as row and column values.
Indexes in to this HCenOptLayer using the tile centre coordinate, either passed as an HCen or as row and column values.
Attributes
Indexes in to this HCenOptLayer using the tile centre coordinate, either passed as an HCen or as row and column values.
Indexes in to this HCenOptLayer using the tile centre coordinate, either passed as an HCen or as row and column values.
Attributes
Drops the Some values. Maps the corresponding HCen for the None to type B. Returns a Arr of length between 0 and the length of this HCenOptLayer.
Drops the Some values. Maps the corresponding HCen for the None to type B. Returns a Arr of length between 0 and the length of this HCenOptLayer.
Attributes
Drops the None values mapping the Some's value with the HCen to an option value, collecting the values of the Somes returned by the function. Returns a Seqimut of length 0 to the length of this HCenOptLayer.
Drops the None values mapping the Some's value with the HCen to an option value, collecting the values of the Somes returned by the function. Returns a Seqimut of length 0 to the length of this HCenOptLayer.
Attributes
Uses projection to map the Some data value with the corresponding HCen and the projections corresponding Pt2 to an element of type B. In most cases B will be a GraphicElem or a subtype.
Uses projection to map the Some data value with the corresponding HCen and the projections corresponding Pt2 to an element of type B. In most cases B will be a GraphicElem or a subtype.
Attributes
Uses projection to map the Some data value with the corresponding HCen and the projections corresponding Pt2 to an element of type B. In most cases B will be a GraphicElem or a subtype.
Uses projection to map the Some data value with the corresponding HCen and the projections corresponding Pt2 to an element of type B. In most cases B will be a GraphicElem or a subtype.
Attributes
Uses projection to map the Some data value with the corresponding HCen and the projections corresponding Pt2 to an element of type B. In most cases B will be a GraphicElem or a subtype.
Uses projection to map the Some data value with the corresponding HCen and the projections corresponding Pt2 to an element of type B. In most cases B will be a GraphicElem or a subtype.
Attributes
Creates a new ArrOpt with the specified location set to NoRef.
Creates a new ArrOpt with the specified location set to NoRef.
Attributes
Creates a new ArrOpt with the specified location set to the specified value.
Creates a new ArrOpt with the specified location set to the specified value.
Attributes
Drops the None values. Maps the Some's value with the corresponding HCen to value of type B. Returns a Seqimut of length between 0 and the length of this HCenOptLayer.
Drops the None values. Maps the Some's value with the corresponding HCen to value of type B. Returns a Seqimut of length between 0 and the length of this HCenOptLayer.
Attributes
Returns an HCenPairArr of the Some values.
Attributes
- Definition Classes
Accesses element from Refs Arr. Only use this method where you are certain it is not null, or the consumer can deal with the null.
Accesses element from Refs Arr. Only use this method where you are certain it is not null, or the consumer can deal with the null.
Attributes
Mutates the value ot the specified location to None.
Mutates the value ot the specified location to None.
Attributes
Sets the Some value of the hex tile data at the specified row and column coordinate values. This is an imperative mutating operation.
Sets the Some value of the hex tile data at the specified row and column coordinate values. This is an imperative mutating operation.
Attributes
Sets the Some values of the hex tile data at the specified row and column coordinate values. This is an imperative mutating operation.
Sets the Some values of the hex tile data at the specified row and column coordinate values. This is an imperative mutating operation.
Attributes
Uses this and a second HCenOptLayer of type B, combining corresponding pairs of Some values with the corresponding HCen and apping to a value of type C. Returns a Arr with a length between 0 and the length of the original HCenOptDGtid data grids.
Uses this and a second HCenOptLayer of type B, combining corresponding pairs of Some values with the corresponding HCen and apping to a value of type C. Returns a Arr with a length between 0 and the length of the original HCenOptDGtid data grids.
Attributes
Uses this and a second HCenOptLayer of type B. Drops all values where either or both HCenOptLayer have None values. Maps the corresponding values of the Somes to type C. Returns a Arr of length bwteen 0 na d the length of the original HCenOptLayers.
Uses this and a second HCenOptLayer of type B. Drops all values where either or both HCenOptLayer have None values. Maps the corresponding values of the Somes to type C. Returns a Arr of length bwteen 0 na d the length of the original HCenOptLayers.
Attributes
Inherited methods
The length of this tile grid mapped Array of optional values.
Attributes
- Inherited from:
- TCenOptLayer
Attributes
- Inherited from:
- TCenOptLayer
Maps the this Arr of Opt values, without their respective Hcen coordinates to an Arr of type B. This method treats the HCenArrOpt class like a standard Arr or Array. It does not utilise the grid TGrid from which this TCenOptLayer was created.
Maps the this Arr of Opt values, without their respective Hcen coordinates to an Arr of type B. This method treats the HCenArrOpt class like a standard Arr or Array. It does not utilise the grid TGrid from which this TCenOptLayer was created.
Attributes
- Inherited from:
- TCenOptLayer
Attributes
- Inherited from:
- TCenOptLayer
Maps the Some values to type B by the parameter function. It ignores the None values. This method treats the HCenArr class like a standard Arr or Array. It does not utilise the grid TGrid from which this TCenOptLayer was created.
Maps the Some values to type B by the parameter function. It ignores the None values. This method treats the HCenArr class like a standard Arr or Array. It does not utilise the grid TGrid from which this TCenOptLayer was created.
Attributes
- Inherited from:
- TCenOptLayer
Attributes
- Inherited from:
- TCenOptLayer
Returns an ArrBase[A] of type ArrA filtered to the Some values.
Returns an ArrBase[A] of type ArrA filtered to the Some values.
Attributes
- Inherited from:
- TCenOptLayer
Concrete fields
The underlying mutable backing Array. it is designated unsafe because it uses nulls for run time efficiency. End users should rarely need to access this directly.
The underlying mutable backing Array. it is designated unsafe because it uses nulls for run time efficiency. End users should rarely need to access this directly.