|
4.24.1.7 insertCone
Syntax:
insertCone( fan f, cone c )
insertCone( fan f, cone c, int check )
Type:
- none
Purpose:
- inserts the cone into the fan; checks for compatibility beforehand unless check is passed and equal 0
Example:
| fan f=emptyFan(3);
f;
==>
==> RAYS
==>
==> MAXIMAL_CONES
==>
intmat M[3][3]=
1,0,0,
0,1,0,
0,0,1;
cone c=coneViaPoints(M);
insertCone(f,c);
f;
==>
==> RAYS
==> 0 0 1 # 0
==> 0 1 0 # 1
==> 1 0 0 # 2
==>
==> MAXIMAL_CONES
==> {0 1 2} # Dimension 3
==>
|
|