summaryrefslogtreecommitdiff
path: root/Master/texmf/doc/asymptote/examples/sacone3D.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf/doc/asymptote/examples/sacone3D.asy')
-rw-r--r--Master/texmf/doc/asymptote/examples/sacone3D.asy13
1 files changed, 13 insertions, 0 deletions
diff --git a/Master/texmf/doc/asymptote/examples/sacone3D.asy b/Master/texmf/doc/asymptote/examples/sacone3D.asy
new file mode 100644
index 00000000000..1ed60da0351
--- /dev/null
+++ b/Master/texmf/doc/asymptote/examples/sacone3D.asy
@@ -0,0 +1,13 @@
+import solids;
+
+size(0,75);
+real r=1;
+real h=1;
+
+revolution R=cone(r,h);
+draw(surface(R),lightgreen+opacity(0.5));
+pen edge=blue+0.25mm;
+draw("$\ell$",(0,r,0)--(0,0,h),W,edge);
+draw("$r$",(0,0,0)--(r,0,0),red+dashed);
+draw((0,0,0)--(0,0,h),red+dashed);
+dot(h*Z);