pub struct SpatialLimitTransformer;
Expand description
Main spatial transformation module that leverages the Bellande Limit algorithm
Implementations§
Source§impl SpatialLimitTransformer
impl SpatialLimitTransformer
Sourcepub async fn transform(
config: SpatialLimitConfig,
) -> Result<LimitTransformationResult, BellandeArchError>
pub async fn transform( config: SpatialLimitConfig, ) -> Result<LimitTransformationResult, BellandeArchError>
Performs a spatial coordinate transformation using the Bellande Limit algorithm
Sourcepub fn process_result(
result: Value,
) -> Result<LimitTransformationResult, BellandeArchError>
pub fn process_result( result: Value, ) -> Result<LimitTransformationResult, BellandeArchError>
Process the raw Bellande Limit result into our domain-specific format
Sourcepub async fn optimize_path(
start: Vec<f64>,
end: Vec<f64>,
environment: Vec<f64>,
obstacles: Vec<Vec<f64>>,
precision: f64,
) -> Result<LimitTransformationResult, BellandeArchError>
pub async fn optimize_path( start: Vec<f64>, end: Vec<f64>, environment: Vec<f64>, obstacles: Vec<Vec<f64>>, precision: f64, ) -> Result<LimitTransformationResult, BellandeArchError>
Optimizes a path between two points considering environment constraints
Sourcepub async fn batch_transform(
configs: Vec<SpatialLimitConfig>,
) -> Vec<Result<LimitTransformationResult, BellandeArchError>>
pub async fn batch_transform( configs: Vec<SpatialLimitConfig>, ) -> Vec<Result<LimitTransformationResult, BellandeArchError>>
Batch processes multiple transformations in parallel
Sourcepub async fn advanced_batch_transform(
configs: Vec<AdvancedLimitConfig>,
) -> Vec<Result<LimitTransformationResult, BellandeArchError>>
pub async fn advanced_batch_transform( configs: Vec<AdvancedLimitConfig>, ) -> Vec<Result<LimitTransformationResult, BellandeArchError>>
Advanced batch processing with custom parameters for each transformation
Auto Trait Implementations§
impl Freeze for SpatialLimitTransformer
impl RefUnwindSafe for SpatialLimitTransformer
impl Send for SpatialLimitTransformer
impl Sync for SpatialLimitTransformer
impl Unpin for SpatialLimitTransformer
impl UnwindSafe for SpatialLimitTransformer
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