ParametricFunction constructor

ParametricFunction({
  1. required Vector3 parametricFunction(
    1. double
    ),
  2. double stepSize = 0.01,
  3. double tMin = 0,
  4. double tMax = 1,
  5. double dt = 1e-8,
  6. List<double> discontinuities = const [],
  7. Color color = WHITE,
})

Implementation

ParametricFunction({
  required this.parametricFunction,
  this.stepSize = 0.01, // use a step size <= 0 for automatic step size
  this.tMin = 0,
  this.tMax = 1,
  this.dt = 1e-8,
  this.discontinuities = const [],
  Color color = WHITE,
}) : super(color: color) {
  setFill(color: TRANSPARENT);
}