The Optimize Contour Alignment command enables you to achieve optimization by matching two sets of curves. For example, this can be useful in case the correspondence is about boundaries. This tool is capable of managing correspondence defined in multiple set of curves, simultaneously. Hence, a set of curves on one mesh can be matched to a corresponding set of curves on the other mesh.
On starting the command, you need to select the movable curve and the reference curve for the Movable Entities and Reference Entities selectors, respectively.
In the Matching Mode drop-down list you can define the mode to be used for making the curve correspondence to achieve optimization.
- Global - All the movable curves are freely matched with the reference curves. The orientation of the curves has no impact on the optimization process.
- Matching Contours - The movable curves are matched to the reference curves as if they are two contours. The matching is rigid in contour parameter space. The movable and reference entities must be chained.
If a contour is closed, the corresponding Movable Contour Start Point and Fixed Contour Start Point selector is enabled. You can invert the contour matching by selecting the Invert Contour Matching (check box) mini-dialog box.
- Fixed - curve to curve - The movable curves are matched one by one to the reference curves. Hence, movable and reference entities have to be same in number. Also, their orientation has to be coherent.
- Global - curve to curve - The movable curves are matched one by one to the reference curves. Hence, movable and reference entities have to be same in number. However, their orientation is ignored.
You can repeat the above steps with another set of curves (and its Matching Mode) by treating it as a new group. To do so, use the Next Group button
available besides Contours. You can return to the previous group by selecting the Previous Group button. The current group number is displayed in the corresponding text box.
Under More Options you will find the following options:
- Target Tolerance - You are enabled to enter the tolerance value within which the optimization is made.
- Copy check box- When selected, a copy of the movable mesh is retained at its original location.
- Insert Transformation Reference check box - When selected, a mesh element (representing the transformation) is created, which can be used by the Replicate Alignment command to modify the position of other entities by performing on them the same controlled transformation.
- Algorithm options - The options under this node define the methodology adopted to achieve the optimization.
- No. of iterations - It enables you to enter in the maximum number of iterations allowed in the optimization process. If this number is too small, the process will stop before reaching the best possible solution.
- Discarded points by distance (%) - It enables you to enter the relative distance value beyond which the mesh nodes are not included in the optimization process.
- Default - Selecting it will reset all the Algorithm options values to the default ones.
- The options under the Contour sampling node enable you to make the settings through which you can define the tolerances used to determine the sample points on the matching curves.
- Show fitting points check box - When selected, the fitted points are displayed with a marker.
- Max. sampled chord error - It is the maximum distance between the chord (between two adjacent sample points) and the curve.
- Max. sampled arc length - It is the maximum value for the length of the chord between two adjacent sample points.
- Default - Selecting it will reset all the Contour sampling values to the default ones.
Related Topics