def el2cgv(ellipse):
    """
    Convert an ellipse to a center vector and two generating
    vectors. The selected generating vectors are semi-axes of the
    ellipse.

    http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/el2cgv_c.html

    :param ellipse: An Ellipse
    :type ellipse: spiceypy.utils.support_types.Ellipse
    :return: Center and semi-axes of ellipse.
    :rtype: tuple
    """
    assert (isinstance(ellipse, stypes.Ellipse))
    center = stypes.emptyDoubleVector(3)
    smajor = stypes.emptyDoubleVector(3)
    sminor = stypes.emptyDoubleVector(3)
    libspice.el2cgv_c(ctypes.byref(ellipse), center, smajor, sminor)
    return stypes.cVectorToPython(center), stypes.cVectorToPython(
            smajor), stypes.cVectorToPython(sminor)
Convert an ellipse to a center vector and two generating
    vectors. The selected generating vectors are semi-axes of the
    ellipse.

    http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/el2cgv_c.html

    :param ellipse: An Ellipse
    :type ellipse: spiceypy.utils.support_types.Ellipse
    :return: Center and semi-axes of ellipse.
    :rtype: tuple