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.

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

Last Updated: 28 October, 2024