class Mittsu::Spline

Defined in:

mittsu/math/spline.cr

Constant Summary

Length = Struct.new(:chunks, :total)
Point = Struct.new(:x, :y, :z)

Constructors

Instance Method Summary

Constructor Detail

def self.new(points) #

[View source]

Instance Method Detail

def control_points_array #

[View source]
def init_from_array(a) #

[View source]
def interpolate(p0, p1, p2, p3, t, t2, t3) #

[View source]
def length(n_sub_divisions = 100) #

[View source]
def point(k) #

[View source]
def points #

[View source]
def points=(points) #

[View source]
def reparametrize_by_arc_length(sampling_coef) #

[View source]