pub enum ColonSegment {
Rectum,
Sigmoid,
Descending,
SplenicFlexure,
Transverse,
HepaticFlexure,
Ascending,
Cecum,
}Expand description
The eight anatomical regions of the colon.
Listed in order from entry (rectum) to terminus (cecum), matching the direction of colonoscopy navigation.
t=0.0 t=1.0
│ │
▼ ▼
Rectum → Sigmoid → Descending → Splenic → Transverse → Hepatic → Ascending → CecumVariants§
Rectum
Entry point, relatively straight. (t ≈ 0.00-0.08)
Sigmoid
S-shaped curve, highly variable between individuals. (t ≈ 0.08-0.20)
Descending
Runs down the left side of the abdomen. (t ≈ 0.20-0.35)
SplenicFlexure
Sharp ~90° bend near the spleen. (t ≈ 0.35-0.40)
Transverse
Crosses the abdomen horizontally. (t ≈ 0.40-0.65)
HepaticFlexure
Sharp ~90° bend near the liver. (t ≈ 0.65-0.70)
Ascending
Runs up the right side of the abdomen. (t ≈ 0.70-0.90)
Cecum
Pouch at terminus, connects to small intestine. (t ≈ 0.90-1.00)
Implementations§
Source§impl ColonSegment
impl ColonSegment
Sourcepub const ALL: [ColonSegment; 8]
pub const ALL: [ColonSegment; 8]
All segments in anatomical order (rectum to cecum).
Sourcepub const DEFAULT_BOUNDARIES: [f32; 9]
pub const DEFAULT_BOUNDARIES: [f32; 9]
Default t-parameter boundaries for each segment.
These are approximate values based on average adult anatomy.
Actual boundaries vary with ColonConfig seed.
Sourcepub fn at_t(t: f32) -> Self
pub fn at_t(t: f32) -> Self
Get the segment containing parameter t.
Uses default boundaries. For seed-varied boundaries, use
ColonCurve::segment_at().
Sourcepub fn is_flexure(&self) -> bool
pub fn is_flexure(&self) -> bool
Whether this segment is a flexure (sharp bend).
Trait Implementations§
Source§impl AnatomicalSegment for ColonSegment
impl AnatomicalSegment for ColonSegment
Source§impl Clone for ColonSegment
impl Clone for ColonSegment
Source§fn clone(&self) -> ColonSegment
fn clone(&self) -> ColonSegment
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more