Maptitude GISDK Help |
Fits a Bezier curve to an array of points.
a = FitBezier(array points, double error)
Argument |
Contents |
points |
An array of coordinates |
error |
The largest acceptable error in user units, i.e., the distance of the curve to each of the points |
An array of two arrays: 1) an array of coordinates that describe the curve; and 2) an array of coordinates that describe the control points.
a = FitBezier({Coord(357392,51508861), Coord(1793138, 52209585), Coord(1072717, 52827482),
Coord(385920, 52604657)}, 0.5)
ShowArray(a)
Error Type |
Meaning |
Error |
Either an invalid coordinate was used, or fewer than two points were passed to the function |
Function |
Summary |
Takes an array of Bezier control points and returns the Bezier curve |
©2025 Caliper Corporation | www.caliper.com |