Segment

Type Alias Segment 

Source
pub type Segment = Segment;
Expand description

A segment shape.

Aliased Type§

#[repr(C)]
pub struct Segment { pub a: OPoint<f32, Const<2>>, pub b: OPoint<f32, Const<2>>, }

Fields§

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

The first endpoint of the segment.

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

The second endpoint of the segment.