35 using namespace TMath;
51 TCanvas *
c =
new TCanvas(
"canvas",
"Parametric surfaces with gl", 100, 10, 700, 700);
57 "1.2 ^ v * sin(u) ^ 2 * cos(v)", 0.,
TMath::Pi(),
63 new TGLParametricEquation(
"Limpet torus",
"cos(u) / (sqrt(2) + sin(v))",
"sin(u) / (sqrt(2) + sin(v))",
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
R__EXTERN TStyle * gStyle
A parametric surface is a surface defined by a parametric equation, involving two parameters (u,...
3 component (x/y/z) vertex class.
void SetCanvasPreferGL(Bool_t prefer=kTRUE)
double Pi()
Mathematical constants.
Double_t Cos(Double_t)
Returns the cosine of an angle of x radians.
Double_t Sin(Double_t)
Returns the sine of an angle of x radians.
constexpr Double_t TwoPi()