pub fn cable_segments(&self, pose: &Pose) -> Vec<(Vector3<f32>, Vector3<f32>)> {
        self.cables
            .iter()
            .map(|c| c.segments(pose))
            .flatten()
            .collect::<Vec<_>>()
    }
/// Calculates the positions of each cable in 3D and provides a list of line segments
/// representing an approximation of each cable for visualization purposes.

Calculates the positions of each cable in 3D and provides a list of line segments
representing an approximation of each cable for visualization purposes.
Calculates the positions of each cable in 3D and provides a list of line segments representing an approximation of each cable for visualization purposes .
pub fn cable_segments(&self, pose: &Pose) -> Vec<(Vector3<f32>, Vector3<f32>)> {
        self.cables
            .iter()
            .map(|c| c.segments(pose))
            .flatten()
            .collect::<Vec<_>>()
    }
pub fn cable_segments ( & self , pose : & Pose ) -> Vec < ( Vector3 < f32 > , Vector3 < f32 > ) > { self . cables . iter ( ) . map ( | c | c . segments ( pose ) ) . flatten ( ) . collect :: < Vec < _ > > ( ) }
Calculates the positions of each cable in 3D and provides a list of line segments
representing an approximation of each cable for visualization purposes.
Calculates the positions of each cable in 3D and provides a list of line segments representing an approximation of each cable for visualization purposes .
&self
pose
&Pose
&self
pose
&Pose