# Results: Seamless Integration of Analysis and Design: Automatic CAD Reconstruction of Post-Analysis Geometries

This repository contains the results of the reconstructed IGES representations. All presented files are in Boundary-Representation, yet trimmed surface representation obtained similar results.


## Files:

**ShapeReconstructionUsingFunctionalComposition** contains the files produced by functional composition. The subdirectory *Example:PlateWithAHole* contains the functional composition of the plate with a hole (FunctionalComposition_Brep.igs), which is displayed in Figure 10. In addition, we provide a representation with a reduced spline degree of maximal four (FunctionalComposition_Brep_DegreeReduced.igs). The *Example:SensorBox* subdirectory reconstructs the sensor box retrieved by functional composition (FunctionalComposition_Brep.igs), displayed in Figure 11. The representation with a reduced degree (FunctionalComposition_Brep_DegreeReduced.igs) takes significantly less storage.

## Summary reconstruction error
The reconstruction error $R_i$ is measured by the Euclidean distance between each post-analysis point data $i$ and $\hat{ \mathbf{X}}_i$ and the evaluated deformed spline at the assigned parametric coordinate $\hat{\mathbf{S}}(\mathbf{\Xi}_i)$. The mean and maximal reconstruction error measure the performance of the reconstruction.


|Geometry           | Mode                     |Mean       |Max         |Min          |
|-------------------|--------------------------|-----------|------------|-------------|
|Plate with hole    |Full degree               |2.9600e-1  |1.0764e+0   |7.5102e-3    |
|Plate with hole    |Reduced to max. degree 4  |2.9600e-1  |1.0764e+0   |7.5103e-3    |
|Sensor box         |Full degree               |3.5244e-3  |4.5816e-2   |3.3194e-5    |
|Sensor box         |Reduced to max. degree 4  |3.5373e-3  |4.5816e-2   |3.3213e-5    |
