68 lines
689 B
Markdown
68 lines
689 B
Markdown
|
# Spline
|
||
|
#### sample_angle(type, points, angle)
|
||
|
|
||
|
|
||
|
|
||
|
#### bezier_loop(cp)
|
||
|
|
||
|
|
||
|
|
||
|
#### bezier_node_count(cp)
|
||
|
|
||
|
|
||
|
|
||
|
#### is_bezier(t)
|
||
|
|
||
|
|
||
|
|
||
|
#### is_catmull(t)
|
||
|
|
||
|
|
||
|
|
||
|
#### bezier2catmull(b)
|
||
|
|
||
|
|
||
|
|
||
|
#### catmull2bezier(c)
|
||
|
|
||
|
Given a set of control points C for a camtull-rom type curve, return a set of cubic bezier points to give the same curve.
|
||
|
|
||
|
#### catmull_loop(cp)
|
||
|
|
||
|
|
||
|
|
||
|
#### catmull_caps(cp)
|
||
|
|
||
|
Given a set of control points cp, return the necessary caps added to the spline.
|
||
|
|
||
|
#### type
|
||
|
**object**
|
||
|
|
||
|
|
||
|
|
||
|
#### bezier_tan_partner(points, i)
|
||
|
|
||
|
|
||
|
|
||
|
#### bezier_cp_mirror(points, i)
|
||
|
|
||
|
|
||
|
|
||
|
#### bezier_point_handles(points, i)
|
||
|
|
||
|
|
||
|
|
||
|
#### bezier_nodes(points)
|
||
|
|
||
|
|
||
|
|
||
|
#### bezier_is_node(points, i)
|
||
|
|
||
|
|
||
|
|
||
|
#### bezier_is_handle(points, i)
|
||
|
|
||
|
|
||
|
|
||
|
|