fj_core/operations/transform/curve.rs
1use fj_math::Transform;
2
3use crate::{objects::Curve, Core};
4
5use super::{TransformCache, TransformObject};
6
7impl TransformObject for Curve {
8 fn transform_with_cache(
9 &self,
10 _: &Transform,
11 _: &mut Core,
12 _: &mut TransformCache,
13 ) -> Self {
14 // There's nothing to actually transform here, as `Curve` holds no data.
15 // We still need this implementation though, as a new `Curve` object
16 // must be created to represent the new and transformed curve.
17 Self::new()
18 }
19}