boinor.core.czml_utils ====================== .. py:module:: boinor.core.czml_utils .. autoapi-nested-parse:: module of low level functions for displaying data with Cesium in a browser. Functions --------- .. autoapisummary:: boinor.core.czml_utils.intersection_ellipsoid_line boinor.core.czml_utils.project_point_on_ellipsoid Module Contents --------------- .. py:function:: intersection_ellipsoid_line(x, y, z, u1, u2, u3, a, b, c) Intersection of an ellipsoid defined by its axes a, b, c with the line p + λu. :param x: A point of the line :type x: float :param y: A point of the line :type y: float :param z: A point of the line :type z: float :param u1: The line vector :type u1: float :param u2: The line vector :type u2: float :param u3: The line vector :type u3: float :param a: The ellipsoidal axises :type a: float :param b: The ellipsoidal axises :type b: float :param c: The ellipsoidal axises :type c: float :returns: **p0, p1** -- This returns both of the points intersecting the ellipsoid. :rtype: numpy.ndarray .. py:function:: project_point_on_ellipsoid(x, y, z, a, b, c) Return the projection of a point on an ellipsoid. :param x: Cartesian coordinates of point :type x: float :param y: Cartesian coordinates of point :type y: float :param z: Cartesian coordinates of point :type z: float :param a: Semi-axes of the ellipsoid :type a: float :param b: Semi-axes of the ellipsoid :type b: float :param c: Semi-axes of the ellipsoid :type c: float