#include "Bitmap.h"
|
bool | SetLink (const Bitmap &Image, unsigned int Row, unsigned int Colum) noexcept |
|
The NeighbourType struct contains the information about a neighbour pixel.
Definition at line 335 of file Bitmap.h.
◆ SetLink()
bool GraphicSpace::Bitmap::PixelInformationType::NeighbourType::SetLink |
( |
const Bitmap & |
Image, |
|
|
unsigned int |
Row, |
|
|
unsigned int |
Column |
|
) |
| |
|
inlinenoexcept |
- Description:
- Set the index of a neighbour of a pixel.
- Parameters
-
Image | Reference to the Bitmap containing the pixel. |
Row | Row index. |
Column | Column index. |
- Exceptions
-
- Returns
- bool true, if the neighbour exists.
- Note
- The neighbour exits iff Row < Height and Column < Width.
Definition at line 34 of file Bitmap.inl.
◆ Attraction
uint_least32_t GraphicSpace::Bitmap::PixelInformationType::NeighbourType::Attraction |
property Attraction Value of the attraction between the pixel and its neighbour.
- Note
- The value is the floating point value, multiplied for ATTRACTION_SCALE and rounded to the nearest integer.
Definition at line 348 of file Bitmap.h.
◆ Index
uint_least32_t GraphicSpace::Bitmap::PixelInformationType::NeighbourType::Index |
The documentation for this struct was generated from the following files: