Sha256: 1e36f4f9ba692c09f1e1041b97aa6132f6af9b25dc5ebd19ffddac4e32203402

Contents?: true

Size: 1.2 KB

Versions: 9

Compression:

Stored size: 1.2 KB

Contents

/*global define*/
define(['Core/Enumeration'], function(Enumeration) {
    "use strict";

    /**
     * This enumerated type is used in determining where, relative to the frustum, an
     * object is located. The object can either be fully contained within the frustum (INSIDE),
     * partially inside the frustum and partially outside (INTERSECTING), or somwhere entirely
     * outside of the frustum's 6 planes (OUTSIDE).
     *
     * @exports Intersect
     */
    var Intersect = {
        /**
         * Represents that an object is not contained within the frustum.
         *
         * @type {Enumeration}
         * @constant
         * @default -1
         */
        OUTSIDE : new Enumeration(-1, 'OUTSIDE'),

        /**
         * Represents that an object intersects one of the frustum's planes.
         *
         * @type {Enumeration}
         * @constant
         * @default 0
         */
        INTERSECTING : new Enumeration(0, 'INTERSECTING'),

        /**
         * Represents that an object is fully within the frustum.
         *
         * @type {Enumeration}
         * @constant
         * @default 1
         */
        INSIDE : new Enumeration(1, 'INSIDE')
    };

    return Intersect;
});

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
cesium-0.25.0 app/assets/javascripts/Core/Intersect.js
cesium-0.24.1 app/assets/javascripts/Core/Intersect.js
cesium-0.24.0 app/assets/javascripts/Core/Intersect.js
cesium-0.23.0 app/assets/javascripts/Core/Intersect.js
cesium-0.22.0 app/assets/javascripts/Core/Intersect.js
cesium-0.21.1 app/assets/javascripts/Core/Intersect.js
cesium-0.21 app/assets/javascripts/Core/Intersect.js
cesium-0.20.0 app/assets/javascripts/Core/Intersect.js
cesium-0.19.0 app/assets/javascripts/Core/Intersect.js