36 TCanvas *
c =
new TCanvas(
"canvas",
"Parametric surfaces with gl", 100, 10, 700, 700);
43 new TGLParametricEquation(
"Conchoid",
"1.2 ^ u * (1 + cos(v)) * cos(u)",
"1.2 ^ u * (1 + cos(v)) * sin(u)",
50 "(cos(v) + sin(v) - 1) * (1 + sin(v)) * log(1 - pi * v / 10) + 7.5 * sin(v)", 0,
56 "(abs(u) - 1) ^ 2 * sin(v)",
"u", -1., 1., 0,
TMath::TwoPi());
62 "2 * (sin(u) + 2 * sin(2 * u)) / (2 + cos(v + 2 * pi / 3))",
63 "(cos(u) - 2 * cos(2 * u)) * (2 + cos(v)) * (2 + cos(v + 2 * pi / 3)) / 4",
R__EXTERN TStyle * gStyle
A parametric surface is a surface defined by a parametric equation, involving two parameters (u,...
virtual void Draw(Option_t *option="")
Default Draw method for all objects.
void SetFrameFillColor(Color_t color=1)
void SetCanvasPreferGL(Bool_t prefer=kTRUE)
constexpr Double_t TwoPi()