/* * 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/decimal-degrees/system.d.ts /** * Decimal Degrees coordinate system implementation. * * Provides parsing, conversion, and formatting for coordinates in decimal degrees notation. * Coordinates are expressed as decimal numbers with degree symbols (e.g., 37.7749° N). * * @property name - Human-readable name of the coordinate system. * @property parse - Parses decimal degrees coordinate strings. * @property toFloat - Converts parsed coordinate components to floating point numbers. * @property toFormat - Formats numeric coordinates back to decimal degrees string. * * @example * ```ts * // Parse a coordinate string * const [coords, errors] = systemDecimalDegrees.parse('37.7749° N / 122.4194° W', 'LATLON'); * ``` * * @example * ```ts * // Convert to float * const lat = systemDecimalDegrees.toFloat(['37.7749', 'N']); * // 37.7749 * ``` * * @example * ```ts * // Format to string * const formatted = systemDecimalDegrees.toFormat('LATLON', [37.7749, -122.4194]); * // '37.7749 N / 122.4194 W' * ``` */ declare const systemDecimalDegrees: CoordinateSystem; //#endregion export { systemDecimalDegrees }; //# sourceMappingURL=system.d.ts.map