You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
642 B
JavaScript

import DeveloperError from "../Core/DeveloperError.js";
/**
* Base class for all geometry creation utility classes that can be passed to {@link GeometryInstance}
* for asynchronous geometry creation.
*
* @constructor
* @class
* @abstract
*/
function GeometryFactory() {
DeveloperError.throwInstantiationError();
}
/**
* Returns a geometry.
*
* @param {GeometryFactory} geometryFactory A description of the circle.
* @returns {Geometry|undefined} The computed vertices and indices.
*/
GeometryFactory.createGeometry = function (geometryFactory) {
DeveloperError.throwInstantiationError();
};
export default GeometryFactory;