@cesium/engine
Version:
CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.
26 lines (22 loc) • 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;