LParabolaf

class LParabolaf

An abstract mathematical description of a parabola, particularly useful for describing arcs of projectiles.

The parabolic equation, given parametrically here, is P = At^2 + Bt + C.

Inheritance diagram

digraph inheritance9b20363256 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "LParabolaf" [URL="acron.core.LParabolaf.html#acron.core.LParabolaf",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "LParabolaf" [arrowsize=0.75,style=""]; }
LParabolaf.__init__()

Constructs a meaningless degenerate parabola.

Constructs a parabola given the three points of the parametric equation: the acceleration, initial velocity, and start point.

LParabolaf.assign()
LParabolaf.calc_point()

Computes the point on the parabola at time t.

LParabolaf.get_a()

Returns the first point of the parabola’s parametric equation: the acceleration.

LParabolaf.get_b()

Returns the second point of the parabola’s parametric equation: the initial velocity.

LParabolaf.get_c()

Returns the third point of the parabola’s parametric equation: the start point.

LParabolaf.output()
LParabolaf.read_datagram()

Reads the parabola from the Datagram using get_stdfloat().

LParabolaf.read_datagram_fixed()

Reads the parabola from the Datagram using get_float32() or get_float64(). See write_datagram_fixed().

LParabolaf.write()
LParabolaf.write_datagram()

Writes the parabola to the Datagram using add_stdfloat(). This is appropriate when you want to write the vector using the standard width setting, especially when you are writing a bam file.

LParabolaf.write_datagram_fixed()

Writes the parabola to the Datagram using add_float32() or add_float64(), depending on the type of floats in the parabola, regardless of the setting of Datagram::set_stdfloat_double(). This is appropriate when you want to write a fixed-width value to the datagram, especially when you are not writing a bam file.

LParabolaf.xform()

Transforms the parabola by the indicated matrix.