package.geom.flat.interiorpoint.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!
/**
* Calculates a point that is likely to lie in the interior of the linear rings.
* Inspired by JTS's com.vividsolutions.jts.geom.Geometry#getInteriorPoint.
* @param {Array} flatCoordinates Flat coordinates.
* @param {number} offset Offset.
* @param {Array} ends Ends.
* @param {number} stride Stride.
* @param {Array} flatCenters Flat centers.
* @param {number} flatCentersOffset Flat center offset.
* @param {Array} [dest] Destination.
* @return {Array} Destination point as XYM coordinate, where M is the
* length of the horizontal intersection that the point belongs to.
*/
export function getInteriorPointOfArray(flatCoordinates: Array, offset: number, ends: Array, stride: number, flatCenters: Array, flatCentersOffset: number, dest?: number[] | undefined): Array;
/**
* @param {Array} flatCoordinates Flat coordinates.
* @param {number} offset Offset.
* @param {Array>} endss Endss.
* @param {number} stride Stride.
* @param {Array} flatCenters Flat centers.
* @return {Array} Interior points as XYM coordinates, where M is the
* length of the horizontal intersection that the point belongs to.
*/
export function getInteriorPointsOfMultiArray(flatCoordinates: Array, offset: number, endss: Array>, stride: number, flatCenters: Array): Array;
//# sourceMappingURL=interiorpoint.d.ts.map