pub struct PreparedAnyAngleGridBuilder;Expand description
Preprocesses a static grid into an exact any-angle visibility-graph snapshot.
Fails closed when retained vertices or projected edges exceed the published budgets (no partial CSR is returned).
Implementations§
Source§impl PreparedAnyAngleGridBuilder
impl PreparedAnyAngleGridBuilder
Sourcepub const fn new() -> PreparedAnyAngleGridBuilder
pub const fn new() -> PreparedAnyAngleGridBuilder
Constructs the default prepared any-angle builder.
Sourcepub fn preprocess(
&self,
grid: &Grid,
) -> Result<PreparedAnyAngleGrid, PreparedAnyAngleGridBuildError>
pub fn preprocess( &self, grid: &Grid, ) -> Result<PreparedAnyAngleGrid, PreparedAnyAngleGridBuildError>
Snapshots grid into a prepared visibility graph.
§Errors
Returns PreparedAnyAngleGridBuildError when conservative preflight
limits are exceeded.
Sourcepub fn default_benchmark_admission(
&self,
grid: &Grid,
) -> PreparedAnyAngleBenchmarkAdmission
pub fn default_benchmark_admission( &self, grid: &Grid, ) -> PreparedAnyAngleBenchmarkAdmission
Classifies whether grid belongs in the default prepared-v2 benchmark lane.
This performs only retained-vertex discovery and conservative preflight; it never enumerates visibility pairs or allocates the prepared CSR.
Trait Implementations§
Source§impl Clone for PreparedAnyAngleGridBuilder
impl Clone for PreparedAnyAngleGridBuilder
Source§fn clone(&self) -> PreparedAnyAngleGridBuilder
fn clone(&self) -> PreparedAnyAngleGridBuilder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PreparedAnyAngleGridBuilder
Source§impl Debug for PreparedAnyAngleGridBuilder
impl Debug for PreparedAnyAngleGridBuilder
Source§impl Default for PreparedAnyAngleGridBuilder
impl Default for PreparedAnyAngleGridBuilder
Source§fn default() -> PreparedAnyAngleGridBuilder
fn default() -> PreparedAnyAngleGridBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PreparedAnyAngleGridBuilder
impl RefUnwindSafe for PreparedAnyAngleGridBuilder
impl Send for PreparedAnyAngleGridBuilder
impl Sync for PreparedAnyAngleGridBuilder
impl Unpin for PreparedAnyAngleGridBuilder
impl UnsafeUnpin for PreparedAnyAngleGridBuilder
impl UnwindSafe for PreparedAnyAngleGridBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more