/** * Application constants organized by category * Centralized location for all hardcoded values used throughout the application */ /** * Earth radius values for distance and area calculations */ export declare const EARTH_RADIUS: { /** * Mean radius in meters - good enough for this tool's precision requirements * Used for distance calculations and area conversions */ readonly MEAN_METERS: 6371000; /** Mean radius in kilometers */ readonly MEAN_KILOMETERS: 6371; /** Mean radius in miles */ readonly MEAN_MILES: 3959; }; /** * Mathematical conversion factors and common values */ export declare const MATH: { /** Degrees to radians conversion factor */ readonly DEG_TO_RAD: number; /** Radians to degrees conversion factor */ readonly RAD_TO_DEG: number; /** Full circle in degrees */ readonly FULL_CIRCLE_DEGREES: 360; /** Full circle in radians */ readonly FULL_CIRCLE_RADIANS: number; }; /** * Precision values for coordinate comparisons and geometric calculations */ export declare const PRECISION: { /** Default decimal places for coordinate precision */ readonly COORDINATE_DECIMAL_PLACES: 6; /** Tolerance for floating point coordinate comparisons */ readonly COORDINATE_TOLERANCE: 0.000001; /** Tolerance for area calculations (square meters) */ readonly AREA_TOLERANCE: 0.01; /** Tolerance for distance calculations (meters) */ readonly DISTANCE_TOLERANCE: 0.01; }; /** * Default values for geometric operations */ export declare const GEOMETRY_DEFAULTS: { /** Default simplification tolerance for polygon simplification */ readonly SIMPLIFY_TOLERANCE: 0.01; /** Minimum number of points required for a valid polygon */ readonly MIN_POLYGON_POINTS: 3; /** Default buffer distance for polygon operations (meters) */ readonly DEFAULT_BUFFER_DISTANCE: 10; }; /** * Supported unit types for various calculations */ export declare const UNITS: { readonly DISTANCE: readonly ["kilometers", "miles", "meters"]; readonly AREA: readonly ["square-meters", "square-kilometers", "hectares", "acres"]; }; /** Type for supported distance units */ export type DistanceUnit = (typeof UNITS.DISTANCE)[number]; /** Type for supported area units */ export type AreaUnit = (typeof UNITS.AREA)[number]; //# sourceMappingURL=constants.d.ts.map