curveLengthWithFixedIntervalCountQuadrature Method
Run an integration (with a default Gaussian quadrature) with a fixed fractional step
- This is typically called by specific curve type implementations of curveLengthBetweenFractions.
- For example, in Arc3d implementation of curveLengthBetweenFractions:
- If the Arc3d is true circular, it the arc is true circular, use the direct
arcLength = radius * sweepRadians
- If the Arc3d is not true circular, call this method with an interval count appropriate to eccentricity and sweepRadians.
- If the Arc3d is true circular, it the arc is true circular, use the direct
curveLengthWithFixedIntervalCountQuadrature(fraction0: number, fraction1: number, numInterval: number, numGauss: number5): number
@returns Returns the curve length via an integral estimated by numerical quadrature between the fractional positions.
Parameter | Type | Description |
---|---|---|
fraction0 | number | start fraction for integration |
fraction1 | number | end fraction for integration |
numInterval | number | number of quadrature intervals |
numGauss | number |
Returns - number
Returns the curve length via an integral estimated by numerical quadrature between the fractional positions.
Defined in
- curve/CurvePrimitive.ts Line 339
Last Updated: 23 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.