getParametricCurve method
Implementation
ParametricFunction getParametricCurve(
Vector3 Function(double) function, {
double stepSize = 0.01, // use a step size <= 0 for automatic step size
double tMin = 0,
double tMax = 1,
double dt = 1e-8,
List<double> discontinuities = const [],
Color color = WHITE,
}) {
var graph = ParametricFunction(
parametricFunction: (t) => coordsToPoint(function(t)),
stepSize: stepSize,
tMin: tMin,
tMax: tMax,
dt: dt,
discontinuities: discontinuities,
color: color,
);
return graph;
}