Skip to main content

Crate parabola

Crate parabola 

Source
Expand description

§Parabola

Representation of a Parabola of the form ax² + bx + c. Such a parabola can also be constructed from its square form, a(x+h)² + k.

Provides methods for evaluation, calculation of critical points, point classification and point projection

The helper structs Point, Line and Segment are also provided.

Structs§

Line
Representation of a straight line of the form ax + b.
Parabola
Representation of a parabola of the form ax² + bx + c.
Point
Representation of a point in the 2-dimensional Cartesian space.
Segment
A line segment in the 2-dimensional Cartesian space

Enums§

Roots
Representation of a parabolas real roots, calculated from the quadratic formula.