denseGetAt abstract method

BcBaseTrajData denseGetAt(
  1. List<BcBaseTrajData> steps,
  2. BcBaseTrajInterpKey key,
  3. double value, {
  4. double startFromTime,
})

The step where key reaches value, interpolated in dense output (steps, time-ordered: what integrateDenseShot returned), or the exact step when one matches. Only steps with time >= startFromTime are searched (0 or negative: all; ignored for BcBaseTrajInterpKey.time). A value beyond the stream is a BcErrorKind.outOfBounds error with the range of the stream; fewer than 3 steps, BcErrorKind.domain.

Implementation

BcBaseTrajData denseGetAt(
  List<BcBaseTrajData> steps,
  BcBaseTrajInterpKey key,
  double value, {
  double startFromTime,
});