acadrust 0.6.7

A pure Rust library for reading and writing CAD files in DXF format (ASCII and Binary) and DWG format (Binary).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use super::super::transform;
use super::*;

pub(crate) fn mirror_spline(e: &mut Spline, transform: &Transform) {
    if !valid_transform(transform) {
        return;
    }
    transform::transform_spline(e, transform);
    e.common.raw_record = None;
}

pub(crate) fn mirror_helix(e: &mut Helix, transform: &Transform) {
    if !valid_transform(transform) {
        return;
    }
    transform::transform_helix(e, transform);
    e.common.raw_record = None;
}