package.geom.GeometryCollection.d.ts Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ol Show documentation
Show all versions of ol Show documentation
OpenLayers mapping library
The newest version!
export default GeometryCollection;
/**
* @classdesc
* An array of {@link module:ol/geom/Geometry~Geometry} objects.
*
* @api
*/
declare class GeometryCollection extends Geometry {
/**
* @param {Array} geometries Geometries.
*/
constructor(geometries: Array);
/**
* @private
* @type {Array}
*/
private geometries_;
/**
* @private
* @type {Array}
*/
private changeEventsKeys_;
/**
* @private
*/
private unlistenGeometriesChange_;
/**
* @private
*/
private listenGeometriesChange_;
/**
* Make a complete copy of the geometry.
* @return {!GeometryCollection} Clone.
* @api
* @override
*/
override clone(): GeometryCollection;
/**
* Return the geometries that make up this geometry collection.
* @return {Array} Geometries.
* @api
*/
getGeometries(): Array;
/**
* @return {Array} Geometries.
*/
getGeometriesArray(): Array;
/**
* @return {Array} Geometries.
*/
getGeometriesArrayRecursive(): Array;
/**
* Create a simplified version of this geometry using the Douglas Peucker algorithm.
* @param {number} squaredTolerance Squared tolerance.
* @return {GeometryCollection} Simplified GeometryCollection.
* @override
*/
override getSimplifiedGeometry(squaredTolerance: number): GeometryCollection;
/**
* @return {boolean} Is empty.
*/
isEmpty(): boolean;
/**
* Set the geometries that make up this geometry collection.
* @param {Array} geometries Geometries.
* @api
*/
setGeometries(geometries: Array): void;
/**
* @param {Array} geometries Geometries.
*/
setGeometriesArray(geometries: Array): void;
}
import Geometry from './Geometry.js';
//# sourceMappingURL=GeometryCollection.d.ts.map