Curve2DSample constructor

const Curve2DSample(
  1. double t,
  2. Offset value
)

Creates an object that holds a sample; used with Curve2D subclasses.

Implementation

const Curve2DSample(this.t, this.value);