Curve | |
public enum CurveGenerationAlgorithms
| Member name | Value | Description |
|---|---|---|
| FixedPositionsPerSegment | 0 | When the curve is generated based on the positions per segment, then the number of generated points if fixed regardless of the curvature. This method is very fast, but produce too many points along nearly straight sections and too few where the curve bends sharply. Final number of curve points is: (curve_points - 1) * points_per_segment + 1. |
| AngleBased | 1 |
Angle based curve generation generates the curve points by recursively subdividing each cubic segment until two tolerances are satisfied: `angleThresholdDegrees` limits how sharp the turn may be between consecutive chords, while `minSegmentLength` guarantees that no chord grows longer than the specified length. |