You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
2.0 KiB
59 lines
2.0 KiB
export default LinearRing;
|
|
/**
|
|
* @classdesc
|
|
* Linear ring geometry. Only used as part of polygon; cannot be rendered
|
|
* on its own.
|
|
*
|
|
* @api
|
|
*/
|
|
declare class LinearRing extends SimpleGeometry {
|
|
/**
|
|
* @param {Array<import("../coordinate.js").Coordinate>|Array<number>} coordinates Coordinates.
|
|
* For internal use, flat coordinates in combination with `layout` are also accepted.
|
|
* @param {import("./Geometry.js").GeometryLayout} [layout] Layout.
|
|
*/
|
|
constructor(coordinates: Array<import("../coordinate.js").Coordinate> | Array<number>, layout?: import("./Geometry.js").GeometryLayout | undefined);
|
|
/**
|
|
* @private
|
|
* @type {number}
|
|
*/
|
|
private maxDelta_;
|
|
/**
|
|
* @private
|
|
* @type {number}
|
|
*/
|
|
private maxDeltaRevision_;
|
|
/**
|
|
* Make a complete copy of the geometry.
|
|
* @return {!LinearRing} Clone.
|
|
* @api
|
|
*/
|
|
clone(): LinearRing;
|
|
/**
|
|
* Return the area of the linear ring on projected plane.
|
|
* @return {number} Area (on projected plane).
|
|
* @api
|
|
*/
|
|
getArea(): number;
|
|
/**
|
|
* Return the coordinates of the linear ring.
|
|
* @return {Array<import("../coordinate.js").Coordinate>} Coordinates.
|
|
* @api
|
|
*/
|
|
getCoordinates(): Array<import("../coordinate.js").Coordinate>;
|
|
/**
|
|
* @param {number} squaredTolerance Squared tolerance.
|
|
* @return {LinearRing} Simplified LinearRing.
|
|
* @protected
|
|
*/
|
|
protected getSimplifiedGeometryInternal(squaredTolerance: number): LinearRing;
|
|
/**
|
|
* Set the coordinates of the linear ring.
|
|
* @param {!Array<import("../coordinate.js").Coordinate>} coordinates Coordinates.
|
|
* @param {import("./Geometry.js").GeometryLayout} [layout] Layout.
|
|
* @api
|
|
*/
|
|
setCoordinates(coordinates: Array<import("../coordinate.js").Coordinate>, layout?: import("./Geometry.js").GeometryLayout | undefined): void;
|
|
}
|
|
import SimpleGeometry from "./SimpleGeometry.js";
|
|
//# sourceMappingURL=LinearRing.d.ts.map
|