/* * Copyright 2026 Hypergiant Galactic Systems Inc. All rights reserved. * This file is licensed to you under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. You may obtain a copy * of the License at https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS * OF ANY KIND, either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ import { CoordinateSystem } from "../internal/coordinate-system.js"; //#region src/coordinates/latlon/degrees-decimal-minutes/system.d.ts /** * Degrees Decimal Minutes coordinate system implementation. * * Provides parsing, conversion, and formatting for coordinates in degrees decimal minutes notation. * Coordinates are expressed as integer degrees and decimal minutes (e.g., 37° 46.4940' N). * * @property name - Human-readable name of the coordinate system. * @property parse - Parses degrees decimal minutes coordinate strings. * @property toFloat - Converts parsed coordinate components to floating point numbers. * @property toFormat - Formats numeric coordinates back to degrees decimal minutes string. * * @example * ```typescript * // Parse a coordinate string * const [coords, errors] = systemDegreesDecimalMinutes.parse('37° 46.4940' N / 122° 25.1640' W', 'LATLON'); * ``` * * @example * ```typescript * // Convert to float * const lat = systemDegreesDecimalMinutes.toFloat(['37', '46.4940', 'N']); * // 37.7749 * ``` * * @example * ```typescript * // Format to string * const formatted = systemDegreesDecimalMinutes.toFormat('LATLON', [37.7749, -122.4194]); * // '37 46.494 N / 122 25.164 W' * ``` */ declare const systemDegreesDecimalMinutes: CoordinateSystem; //#endregion export { systemDegreesDecimalMinutes }; //# sourceMappingURL=system.d.ts.map