mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-27 06:10:34 +05:00
14 lines
220 B
GLSL
14 lines
220 B
GLSL
|
#
|
||
|
## A cone
|
||
|
#
|
||
|
algebraic3d
|
||
|
|
||
|
# Cone given by bottom circle and top circle
|
||
|
# and cut by planes:
|
||
|
|
||
|
solid cutcone = cone ( 0, 0, 0; 1; 3, 0, 0; 0.1 )
|
||
|
and plane (0, 0, 0; -1, 0, 0)
|
||
|
and plane (3, 0, 0; 1, 0, 0);
|
||
|
|
||
|
tlo cutcone;
|