mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +05:00
13 lines
184 B
GLSL
13 lines
184 B
GLSL
|
#
|
||
|
## a cylinder
|
||
|
#
|
||
|
algebraic3d
|
||
|
|
||
|
# cut cylinder by planes:
|
||
|
|
||
|
solid fincyl = cylinder ( 3, 0, 0; -1, 0, 0; 0.5 )
|
||
|
and plane (0, 0, 0; -1, 0, 0)
|
||
|
and plane (2, 0, 0; 1, 0, 0);
|
||
|
|
||
|
tlo fincyl;
|