Skip to main content

feagi_structures/genomic/
descriptors.rs

1use crate::{define_xy_coordinates, define_xyz_coordinates};
2
3define_xy_coordinates!(
4    GenomeCoordinate2D,
5    i32,
6    "GenomeCoordinate2D",
7    "2D coordinate local to the FEAGI Genome space.
8
9Represents a 2D position within the global genome coordinate system,
10using signed integers to allow for negative coordinates and relative
11positioning across the entire genome space.
12
13# Usage
14Used for 2D visualization positioning of brain regions and cortical areas
15within the genome's 2D projection plane."
16);
17
18define_xyz_coordinates!(
19    GenomeCoordinate3D,
20    i32,
21    "GenomeCoordinate3D",
22    "3D coordinate local to the FEAGI Genome space.
23
24Represents a position within the global genome coordinate system,
25using signed integers to allow for negative coordinates and relative
26positioning across the entire genome space.
27
28# Usage
29Used for absolute positioning of cortical areas within the genome
30and for calculating spatial relationships between different brain regions."
31);
32
33// Alias for backward compatibility
34pub type GenomeCoordinate = GenomeCoordinate3D;