Method
get_neighbor
(&self, direction: DirectedAxis)
Source from the content-addressed store, hash-verified
| 1024 | /// Get a specific neighbor in the given direction from the origin point of the neighborhood |
| 1025 | #[inline(always)] |
| 1026 | pub fn get_neighbor(&self, direction: DirectedAxis) -> Option<&PointIndex<I>> { |
| 1027 | self.neighbors.get(&direction).as_ref() |
| 1028 | } |
| 1029 | |
| 1030 | /// Get the edge to a specific neighbor in the given direction from the origin point of the neighborhood |
| 1031 | #[inline(always)] |
Callers
nothing calls this directly
Tested by
no test coverage detected