Skip to main content

Segment2

Type Alias Segment2 

Source
pub type Segment2 = Segment<Point2>;
Expand description

Two-dimensional segment.

Aliased Type§

pub struct Segment2 {
    pub start: DVec2,
    pub end: DVec2,
}

Fields§

§start: DVec2

Endpoint at parameter zero.

§end: DVec2

Endpoint at parameter one.