Type Alias rapier2d::geometry::Segment

source ·
pub type Segment = Segment;
Expand description

A segment shape.

Aliased Type§

struct Segment {
    pub a: OPoint<f32, Const<2>>,
    pub b: OPoint<f32, Const<2>>,
}

Fields§

§a: OPoint<f32, Const<2>>

The segment first point.

§b: OPoint<f32, Const<2>>

The segment second point.