TrackFlow Pro Documentation 1
Generate roller coasters, railroads, conveyors and more with a physics aware spline and meshing system.
Loading...
Searching...
No Matches
TrackFlowPro.Runtime.CurvatureFunctionAsset Class Referenceabstract

Subclass this in your project to supply a curvature law as an arbitrary function. Return at least two entries: [kappa, torsion, ...]. More...

Public Member Functions

double[] Evaluate (double s)

Detailed Description

Subclass this in your project to supply a curvature law as an arbitrary function. Return at least two entries: [kappa, torsion, ...].

Member Function Documentation

◆ Evaluate()

double[] TrackFlowPro.Runtime.CurvatureFunctionAsset.Evaluate ( double s)
abstract
Parameters
sArc length (same units as your curve build)
Returns
double[] of generalized 3D curvatures at arc length s [k, τ]

The documentation for this class was generated from the following file: