export default MultiPolygon; /** * @classdesc * Multi-polygon geometry. * * @api */ declare class MultiPolygon extends SimpleGeometry { /** * @param {Array>|Polygon>|Array} coordinates Coordinates. * For internal use, flat coordinates in combination with `opt_layout` and `opt_endss` are also accepted. * @param {import("./GeometryLayout.js").default} [opt_layout] Layout. * @param {Array>} [opt_endss] Array of ends for internal use with flat coordinates. */ constructor(coordinates: Array> | Polygon> | Array, opt_layout?: any, opt_endss?: Array>); /** * @type {Array>} * @private */ private endss_; /** * @private * @type {number} */ private flatInteriorPointsRevision_; /** * @private * @type {Array} */ private flatInteriorPoints_; /** * @private * @type {number} */ private maxDelta_; /** * @private * @type {number} */ private maxDeltaRevision_; /** * @private * @type {number} */ private orientedRevision_; /** * @private * @type {Array} */ private orientedFlatCoordinates_; /** * Append the passed polygon to this multipolygon. * @param {Polygon} polygon Polygon. * @api */ appendPolygon(polygon: Polygon): void; /** * Return the area of the multipolygon on projected plane. * @return {number} Area (on projected plane). * @api */ getArea(): number; /** * @return {Array>} Endss. */ getEndss(): Array>; /** * @return {Array} Flat interior points. */ getFlatInteriorPoints(): Array; /** * Return the interior points as {@link module:ol/geom/MultiPoint multipoint}. * @return {MultiPoint} Interior points as XYM coordinates, where M is * the length of the horizontal intersection that the point belongs to. * @api */ getInteriorPoints(): MultiPoint; /** * @return {Array} Oriented flat coordinates. */ getOrientedFlatCoordinates(): Array; /** * Return the polygon at the specified index. * @param {number} index Index. * @return {Polygon} Polygon. * @api */ getPolygon(index: number): Polygon; /** * Return the polygons of this multipolygon. * @return {Array} Polygons. * @api */ getPolygons(): Array; } import SimpleGeometry from "./SimpleGeometry.js"; import Polygon from "./Polygon.js"; import MultiPoint from "./MultiPoint.js";