condor-for-games 0.4.0

Rust pathfinding library for grids, polygonal scenes, navmeshes, and replanning.
Documentation
//! Any-angle grid search contracts re-exported from the grid owner crate.
//!
//! # Facade role
//!
//! - **Owner:** `condor-pathfinding-grid` (`condor_grid::any_angle`).
//! - **This module:** feature-gated (`grid`) compatibility facade. It re-exports
//!   the public any-angle path/request/result types and [`AnyAnglePathfinder`]
//!   trait so consumers import `condor::any_angle::…` or the crate-root aliases
//!   without depending on the grid crate.
//! - **Not owned here:** solver implementations ([`crate::algorithms::anya`],
//!   Theta*, Lazy Theta*, prepared any-angle graphs) live under their algorithm
//!   modules; this surface is only the shared any-angle *contract*.
//!
//! # Frozen compatibility
//!
//! [`exact_oracle_v0`] is a hidden, frozen exact-oracle path retained for
//! differential checks. Prefer public solvers and stats for application code.

pub use condor_grid::any_angle::{
    AnyAnglePath, AnyAnglePathBuildError, AnyAnglePathfinder, AnyAngleSearchError,
    AnyAngleSearchRequest, AnyAngleSearchResult, AnyAngleSearchStats, has_line_of_sight,
};

/// Hidden oracle contracts retained for compatibility and exact solver checks.
///
/// Not part of the curated application surface; types and helpers may be used
/// by in-tree differentials only.
#[doc(hidden)]
pub mod exact_oracle_v0 {
    pub use condor_grid::any_angle::exact_oracle_v0::{
        AnyAngleOracleDiagnostics, AnyAngleSamplingReferenceOracle, AnyAngleVisibilityGraphOracle,
        approximately_equal, canonicalize_grid_vertex, extract_boundary_edges, is_endpoint_valid,
        recompute_path_cost, sampling_segment_is_legal, segment_is_legal, validate_path,
        validate_sampling_path,
    };
}