Curve Fitting Method, Apparatus and Device Based on A Drawing Tool
AssigneeCITIC Dicastal Co., Ltd.
InventorsZuo XU, Tao TIAN, Ning WANG, Shaobing Huang, Lihua CHEN
Life of this patent
Estimating the term…
Abstract
A curve fitting method, apparatus and device based on a drawing tool for improving the accuracy of curve fitting. The method includes: determining a fitting area containing the original curve, in the fitting area, performing at least one sub-fitting operation on the original curve until the end condition of the curve fitting is satisfied, and generating a fitting curve corresponding to the original curve based on the fitting curve corresponding to each sub-fitting operation. This method can fit the original curve segments in the fitting area, which improves the accuracy of the obtained fitting curve.
Claims17
A curve fitting method based on a drawing tool, wherein it includes:
- determining a fitting area based on the original curve, the fitting area is an area containing the original curve;
- performing at least one sub-fitting operation on the original curve in the fitting area until the end condition of the curve fitting is satisfied;
- wherein the i-th sub-fitting operation of the at least one sub-fitting operation includes:
- generating the fitting arc corresponding to the i-th sub-fitting operation in the fitting area based on the first tangent arc that is tangent to the original curve, the first tangent arc passing through the arc starting point corresponding to the i-th sub-fitting operation, where i is an integer greater than 0;
- generating a fitting curve corresponding to the original curve based on the fitting arc corresponding to each sub-fitting operation in at least one sub-fitting operation.
A curve fitting apparatus based on a drawing tool, comprising:
- a fitting area determining unit, configured to determine the fitting area based on the original curve, the fitting area being an area containing the original curve;
- a first fitting unit, configured to perform at least one sub-fitting operation on the original curve in the fitting area until the end condition of the curve fitting is satisfied;
- wherein, the i-th sub-fitting operation of the at least one sub-fitting operation includes:
- generating the fitting arc corresponding to the i-th sub-fitting operation in the fitting area based on the first tangent arc that passes through the arc starting point corresponding to the i-th sub-fitting operation and is tangent to the original curve, the i is an integer greater than 0;
- a second fitting unit, configured to generate a fitting curve corresponding to the original curve based on the fitting arc corresponding to each sub-fitting operation in at least one sub-fitting operation.
Dependencies are inferred from the claim text.