struct PF2d::Bezier::Quad(T)
- PF2d::Bezier::Quad(T)
- PF2d::Bezier::Curve(T)
- Struct
- Value
- Object
Defined in:
pf2d/bezier/quad.crConstructors
Class Method Summary
- .derivative(t : Float64, p0 : Number, p1 : Number, p2 : Number)
- .extrema(p0 : Number, p1 : Number, p2 : Number, &)
- .interpolate(t : Float64, p0 : Number, p1 : Number, p2 : Number)
-
.roots(p0 : Number, p1 : Number, p2 : Number, &)
Solves roots so that t = 0
- .second_derivative(p0 : Number, p1 : Number, p2 : Number)
Instance Method Summary
- #control_point_pointers : Tuple(Pointer(Vec2(T)), Pointer(Vec2(T)))
- #control_points : Tuple(Vec2(T), Vec2(T))
- #p0 : Vec2(T)
- #p0=(p0 : Vec2(T))
- #p1 : Vec2(T)
- #p1=(p1 : Vec2(T))
- #p2 : Vec2(T)
- #p2=(p2 : Vec2(T))
- #point_pointers
- #points
- #to_f
- #to_f32
- #to_f64
- #to_i
- #to_i128
- #to_i16
- #to_i32
- #to_i64
- #to_i8
- #to_u
- #to_u128
- #to_u16
- #to_u32
- #to_u64
- #to_u8