fj-core 0.49.0

Early-stage b-rep CAD kernel.
Documentation
use fj_math::Transform;

use crate::{objects::Curve, Core};

use super::{TransformCache, TransformObject};

impl TransformObject for Curve {
    fn transform_with_cache(
        &self,
        _: &Transform,
        _: &mut Core,
        _: &mut TransformCache,
    ) -> Self {
        // There's nothing to actually transform here, as `Curve` holds no data.
        // We still need this implementation though, as a new `Curve` object
        // must be created to represent the new and transformed curve.
        Self::new()
    }
}