Namespace JXG.Math.Metapost
↳ JXG.Math.Metapost
Defined in: metapost.js.
Constructor Attributes | Constructor Name and Description |
---|---|
The JXG.Math.Metapost namespace holds algorithms translated from Metapost
by D.E.
|
Method Attributes | Method Name and Description |
---|---|
<static> |
JXG.Math.Metapost.curve(point_list, controls)
|
<private> <static> |
JXG.Math.Metapost.make_choices(knots)
|
<private> <static> |
JXG.Math.Metapost.makeknots(p, tension, cycle)
|
<private> <static> |
JXG.Math.Metapost.mp_ab_vs_cd(a, b, c, d)
|
<private> <static> |
JXG.Math.Metapost.mp_curl_ratio(gamma, a_tension, b_tension)
|
<private> <static> |
JXG.Math.Metapost.mp_n_sin_cos(z)
|
<private> <static> |
JXG.Math.Metapost.mp_pyth_add(a, b)
|
<private> <static> |
JXG.Math.Metapost.mp_set_controls(p, q, delta_x, delta_y, st, ct, sf, cf)
|
<private> <static> |
JXG.Math.Metapost.mp_solve_choices(p, q, n, delta_x, delta_y, delta, psi)
Implements solve_choices form metapost
MP 305
|
<private> <static> |
JXG.Math.Metapost.mp_velocity(st, ct, sf, cf, t)
|
<private> <static> |
JXG.Math.Metapost.reduce_angle(A)
|
Namespace Detail
JXG.Math.Metapost
The JXG.Math.Metapost namespace holds algorithms translated from Metapost
by D.E. Knuth and J.D. Hobby.
Method Detail
<static>
{Array}
JXG.Math.Metapost.curve(point_list, controls)
- Parameters:
- {Array} point_list
- {Object} controls
- Returns:
- {Array}
<private> <static>
JXG.Math.Metapost.make_choices(knots)
- Parameters:
- knots
<private> <static>
JXG.Math.Metapost.makeknots(p, tension, cycle)
- Parameters:
- {Array} p
- {Number} tension
- {Boolean} cycle
<private> <static>
JXG.Math.Metapost.mp_ab_vs_cd(a, b, c, d)
- Parameters:
- a
- b
- c
- d
<private> <static>
JXG.Math.Metapost.mp_curl_ratio(gamma, a_tension, b_tension)
- Parameters:
- gamma
- a_tension
- b_tension
<private> <static>
JXG.Math.Metapost.mp_n_sin_cos(z)
- Parameters:
- z
<private> <static>
JXG.Math.Metapost.mp_pyth_add(a, b)
- Parameters:
- a
- b
<private> <static>
JXG.Math.Metapost.mp_set_controls(p, q, delta_x, delta_y, st, ct, sf, cf)
- Parameters:
- p
- q
- delta_x
- delta_y
- st
- ct
- sf
- cf
<private> <static>
JXG.Math.Metapost.mp_solve_choices(p, q, n, delta_x, delta_y, delta, psi)
Implements solve_choices form metapost
MP 305
- Parameters:
- p
- q
- n
- delta_x
- delta_y
- delta
- psi
<private> <static>
JXG.Math.Metapost.mp_velocity(st, ct, sf, cf, t)
- Parameters:
- st
- ct
- sf
- cf
- t
<private> <static>
JXG.Math.Metapost.reduce_angle(A)
- Parameters:
- {Number} A