helper functions for bezier and piecewise curves
conversion of FireDetector to revolved parametric