import type { MValue, Properties, VectorFeature, VectorGeometry, VectorMultiPointGeometry, VectorPoint } from '../../index.js'; /** * Check if two XYZ Points are equal * @param a - The first XYZ Point * @param b - The second XYZ Point * @returns - True if the two XYZ Points are equal */ export declare function equalPoints(a?: VectorPoint, b?: VectorPoint): boolean; /** * Find the average of a collection of Vector points * @param vectorPoints - collection of Vector points, whether from a VectorFeature, geometry, or raw coordinates * @returns - the average of the vector points */ export declare function averageOfPoints, D extends MValue = Properties, P extends Properties = Properties>(vectorPoints: VectorPoint[] | VectorMultiPointGeometry | VectorFeature>): VectorPoint; /** * Find the center of a collection of Vector points * @param vectorPoints - collection of Vector points, whether from a VectorFeature, geometry, or raw coordinates * @returns - the center of the vector points */ export declare function centerOfPoints, D extends MValue = Properties, P extends Properties = Properties>(vectorPoints: VectorPoint[] | VectorMultiPointGeometry | VectorFeature>): VectorPoint; /** * Given an input vector feature, create a collection of points * @param data - vector feature with various geometry types * @returns - all features as a collection of points */ export declare function toPoints, D extends MValue = Properties, P extends Properties = Properties>(data: VectorFeature>): VectorMultiPointGeometry; /** * Get the bearing in degrees between two points * @param start - starting point * @param end - ending point * @returns - the bearing */ export declare function pointBearing(start: VectorPoint, end: VectorPoint): number; /** * Get the destination given a start point, bearing, and distance * @param start - starting point (in Lon-Lat degrees) * @param bearing - the bearing (in degrees) * @param distance - the distance (in meters) * @param radius - the radius of the sphere. Defaults to the Earth's radius in meters. * @returns - the destination point in Lon-Lat degrees */ export declare function pointDestination(start: VectorPoint, bearing: number, distance: number, radius?: number): VectorPoint; /** * Updates the WGS84 point's x and y values as needed * @param point - the WGS 84 point to clamp/wrap * @returns the point itself post update */ export declare function clampWGS84Point(point: VectorPoint): VectorPoint; //# sourceMappingURL=points.d.ts.map