fj-core 0.49.0

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

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

use super::{TransformCache, TransformObject};

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