diff --git a/src/fgt/filter_shape/extrude.h b/src/fgt/filter_shape/extrude.h index 348561335..a95e2429d 100644 --- a/src/fgt/filter_shape/extrude.h +++ b/src/fgt/filter_shape/extrude.h @@ -5,9 +5,13 @@ class Extrude{ //Core functions: void SelectedFaces(MeshType & in, ScalarType offset); - void FromProfileAndPath(vector &profileVec, vector &pathPointVec, vector &pathFrameVec); + +// Generate an extruded profile starting from a profile, a path and a set of rotations. +// We assume that the profile is centered around the origin and lie on the XY plane. +// the pathFrameVec encodes the rotations that have to be applied to the profile at each step encoded as eulerian angles. +void FromProfileAndPath(vector &profileVec, vector &pathPointVec, vector &pathFrameVec, vector &scaleVec); // High level funcs - void TubeFromPath(vector &profileVec, int profileSize); + void TubeFromPath(vector &pathPointVec, int profileSize); }