*lines_approximate
Simplifies curved free lines.
Syntax
*lines_approximate mark_id type reserved1 reserved2
Type
HyperMesh Tcl Modify
Description
Simplifies curved free lines.
Inputs
- mark_id
- The ID of the mark containing the free lines. Valid values are 1 and 2.
- type
- 1 - Each curved line will be replaced with a parabola (2nd degree) that has the same end points as the line, and is closest to it.
- reserved1
- Reserved for future use. Must be set to 0.
- reserved2
- Reserved for future use. Must be set to 0.
Example
To simplify lines 1 and 2 using Bezier simplification:
*createmark lines 1 1 2
*lines_approximate 1 2 0 0
Errors
Incorrect usage results in a Tcl error. To
detect errors, you can use the catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
11.0