package.geom.MultiPoint.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 MultiPoint;
/**
* @classdesc
* Multi-point geometry.
*
* @api
*/
declare class MultiPoint extends SimpleGeometry {
/**
* @param {Array|Array} coordinates Coordinates.
* For internal use, flat coordinates in combination with `layout` are also accepted.
* @param {import("./Geometry.js").GeometryLayout} [layout] Layout.
*/
constructor(coordinates: Array | Array, layout?: import("./Geometry.js").GeometryLayout | undefined);
/**
* Append the passed point to this multipoint.
* @param {Point} point Point.
* @api
*/
appendPoint(point: Point): void;
/**
* Make a complete copy of the geometry.
* @return {!MultiPoint} Clone.
* @api
* @override
*/
override clone(): MultiPoint;
/**
* Return the coordinates of the multipoint.
* @return {Array} Coordinates.
* @api
* @override
*/
override getCoordinates(): Array;
/**
* Return the point at the specified index.
* @param {number} index Index.
* @return {Point} Point.
* @api
*/
getPoint(index: number): Point;
/**
* Return the points of this multipoint.
* @return {Array} Points.
* @api
*/
getPoints(): Array;
/**
* Set the coordinates of the multipoint.
* @param {!Array} coordinates Coordinates.
* @param {import("./Geometry.js").GeometryLayout} [layout] Layout.
* @api
* @override
*/
override setCoordinates(coordinates: Array, layout?: import("./Geometry.js").GeometryLayout | undefined): void;
}
import SimpleGeometry from './SimpleGeometry.js';
import Point from './Point.js';
//# sourceMappingURL=MultiPoint.d.ts.map