Skip to content
Snippets Groups Projects
Commit dff7e873 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

update BoundingBox doc to match what the code actually does + explain
relative/ansolute paths + small 'cosmetic' changes
parent 454f07f1
Branches
Tags
No related merge requests found
\input texinfo.tex @c -*-texinfo-*- \input texinfo.tex @c -*-texinfo-*-
@c $Id: gmsh.texi,v 1.133 2004-10-04 01:07:43 geuzaine Exp $ @c $Id: gmsh.texi,v 1.134 2004-10-04 04:40:59 geuzaine Exp $
@c @c
@c Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle @c Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle
@c @c
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
@c ========================================================================= @c =========================================================================
@c %**start of header @c %**start of header
@setfilename gmsh.info @setfilename gmsh.info
@set EDITION 1.24 @set EDITION 1.25
@set GMSH-VERSION 1.55 @set GMSH-VERSION 1.55
@set GMSH-WEB @uref{http://www.geuz.org/gmsh/} @set GMSH-WEB @uref{http://www.geuz.org/gmsh/}
@set COPYRIGHT @copyright{} 1997-2004 Christophe Geuzaine, Jean-Fran@,{c}ois Remacle @set COPYRIGHT @copyright{} 1997-2004 Christophe Geuzaine, Jean-Fran@,{c}ois Remacle
...@@ -1134,13 +1134,13 @@ if you compiled Gmsh's parallel extensions). ...@@ -1134,13 +1134,13 @@ if you compiled Gmsh's parallel extensions).
Returns the rank of the current processor. Returns the rank of the current processor.
@item newp @item newp
Returns the next available point number. As we will see in @ref{Geometry Returns the next available point number. As explained in @ref{Geometry
module}, a unique number is associated with every geometrical point: module}, a unique number must be associated with every geometrical point:
@code{newp} permits to know the highest number already attributed. This is @code{newp} permits to know the highest number already attributed (plus
mostly useful when writing user-defined functions (@pxref{User-defined one). This is mostly useful when writing user-defined functions
functions}) or general geometric primitives, when one does not know @emph{a (@pxref{User-defined functions}) or general geometric primitives, when one
priori} which numbers are already attributed, and which ones are still does not know @emph{a priori} which numbers are already attributed, and
available. which ones are still available.
@item newl @item newl
Returns the next available line number. Returns the next available line number.
...@@ -1227,7 +1227,9 @@ that only valid floating point formatting characters make sense in ...@@ -1227,7 +1227,9 @@ that only valid floating point formatting characters make sense in
@item Merge @var{char-expression}; @item Merge @var{char-expression};
Merges a file named @var{char-expression}. This command is equivalent to the Merges a file named @var{char-expression}. This command is equivalent to the
`File->Merge' menu in the graphical user interface. `File->Merge' menu in the graphical user interface. If the path in
@var{char-expression} is not absolute, @var{char-expression} is appended to
the path of the current file.
@item Draw; @item Draw;
Redraws the scene. Redraws the scene.
...@@ -1238,14 +1240,14 @@ after new geometrical entities are added or after files are included or ...@@ -1238,14 +1240,14 @@ after new geometrical entities are added or after files are included or
merged). The bounding box is computed as follows: merged). The bounding box is computed as follows:
@enumerate @enumerate
@item @item
If there is a geometry (i.e., at least one geometrical point), the bounding If there is a mesh (i.e., at least one mesh vertex), the bounding
box is taken as the box enclosing all the geometrical points; box is taken as the box enclosing all the mesh vertices;
@item @item
If there is no geometry but there is a mesh (i.e., at least one mesh If there is no mesh but there is a geometry (i.e., at least one geometrical
vertex), the bounding box is taken as the box enclosing all the mesh point), the bounding box is taken as the box enclosing all the geometrical
vertices; points;
@item @item
If there is no geometry and no mesh, but there are some post-processing If there is no mesh and no geometry, but there are some post-processing
views, the bounding box is taken as the box enclosing all the primitives of views, the bounding box is taken as the box enclosing all the primitives of
the last post-processing view. the last post-processing view.
@end enumerate @end enumerate
...@@ -1259,7 +1261,9 @@ Deletes all geometrical entities and all currently loaded meshes. ...@@ -1259,7 +1261,9 @@ Deletes all geometrical entities and all currently loaded meshes.
@item Print @var{char-expression}; @item Print @var{char-expression};
Prints the graphic window in a file named @var{char-expression}, using the Prints the graphic window in a file named @var{char-expression}, using the
current @code{Print.Format} (@pxref{General options}). current @code{Print.Format} (@pxref{General options}). If the path in
@var{char-expression} is not absolute, @var{char-expression} is appended to
the path of the current file.
@item Sleep @var{expression}; @item Sleep @var{expression};
Suspends the execution of Gmsh during @var{expression} seconds. Suspends the execution of Gmsh during @var{expression} seconds.
...@@ -1271,7 +1275,7 @@ Executes a system call. ...@@ -1271,7 +1275,7 @@ Executes a system call.
Includes the file named @var{char-expression} at the current position in the Includes the file named @var{char-expression} at the current position in the
input file. The include command should be given on a line of its own. If input file. The include command should be given on a line of its own. If
the path in @var{char-expression} is not absolute, @var{char-expression} is the path in @var{char-expression} is not absolute, @var{char-expression} is
appended to the path of the including file. appended to the path of the current file.
@end ftable @end ftable
@c ------------------------------------------------------------------------- @c -------------------------------------------------------------------------
...@@ -2064,7 +2068,9 @@ triangle recombinations). ...@@ -2064,7 +2068,9 @@ triangle recombinations).
@item Save @var{char-expression}; @item Save @var{char-expression};
Saves the mesh in a file named @var{char-expression}, using the current Saves the mesh in a file named @var{char-expression}, using the current
@code{Mesh.Format} (@pxref{Mesh options}). @code{Mesh.Format} (@pxref{Mesh options}). If the path in
@var{char-expression} is not absolute, @var{char-expression} is appended to
the path of the current file.
@item Show @{ Point | Line | Surface | Volume @{ @var{expression-list} @}; @dots{} @} @item Show @{ Point | Line | Surface | Volume @{ @var{expression-list} @}; @dots{} @}
Shows the mesh of the entities in @var{expression-list}, if Shows the mesh of the entities in @var{expression-list}, if
...@@ -2272,7 +2278,8 @@ list of default plugins and @ref{t9.geo}, for some examples. ...@@ -2272,7 +2278,8 @@ list of default plugins and @ref{t9.geo}, for some examples.
@item Save View[@var{expression}] @var{char-expression}; @item Save View[@var{expression}] @var{char-expression};
Saves the the @var{expression}-th post-processing view in a file named Saves the the @var{expression}-th post-processing view in a file named
@var{char-expression}. @var{char-expression}. If the path in @var{char-expression} is not absolute,
@var{char-expression} is appended to the path of the current file.
@item View "@var{string}" @{ @var{string} ( @var{expression-list} ) @{ @var{expression-list} @}; @dots{} @} @item View "@var{string}" @{ @var{string} ( @var{expression-list} ) @{ @var{expression-list} @}; @dots{} @}
Creates a new post-processing view, named @code{"@var{string}"}. This is the Creates a new post-processing view, named @code{"@var{string}"}. This is the
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment