Volume Cartographer 2.27.0
Spiral.hpp
Go to the documentation of this file.
1#pragma once
2
6
7namespace volcart::shapes
8{
35class Spiral : public ShapePrimitive
36{
37public:
43 double arcLength,
44 double height,
45 double a = 0.5,
46 double b = 0.1,
47 double dTheta = 0.25,
48 double dH = 1.0);
49
55 double arcLength,
56 double height,
57 int numPts,
58 int numCurves,
59 double a = 0.5,
60 double b = 0.1);
61
62private:
65 int numCols, int numRows, double a, double b, double dTheta, double dH);
66};
67} // namespace volcart::shapes
Base class for shape generators.
Spiral (i.e. scroll-like) surface shape.
Definition: Spiral.hpp:36
void construct_spiral_(int numCols, int numRows, double a, double b, double dTheta, double dH)
Spiral(double arcLength, double height, int numPts, int numCurves, double a=0.5, double b=0.1)
Constructor parameterized for number of points along the spiral and the number of spirals.
Spiral(double arcLength, double height, double a=0.5, double b=0.1, double dTheta=0.25, double dH=1.0)
Constructor parameterized for angular offset and distance between spirals.
Shape and mesh primitives.