[gts] 16/25: Import Upstream version 0.7.6+darcs110121
Andreas Tille
tille at debian.org
Tue Jan 31 12:40:38 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository gts.
commit 1fb50093f4344e444432aaa418135bcc04520043
Author: Andreas Tille <tille at debian.org>
Date: Tue Jan 31 11:38:49 2017 +0100
Import Upstream version 0.7.6+darcs110121
---
ChangeLog | 33 ++++++++++++++--------
debian/control | 2 +-
doc/manpages/delaunay.1 | 34 +++++++++++-----------
doc/manpages/gts-config.1 | 8 +++---
doc/manpages/gts2dxf.1 | 4 +--
doc/manpages/gts2oogl.1 | 70 +++++++++++++++++++++++++++-------------------
doc/manpages/gts2stl.1 | 10 +++----
doc/manpages/gtscheck.1 | 11 ++++----
doc/manpages/gtscompare.1 | 38 +++++++++++++++----------
doc/manpages/gtstemplate.1 | 6 ++--
doc/manpages/happrox.1 | 28 +++++++++----------
doc/manpages/stl2gts.1 | 12 ++++----
doc/manpages/transform.1 | 60 +++++++++++++++++++++++----------------
examples/Makefile.am | 2 +-
examples/Makefile.in | 2 +-
src/graph.c | 4 +--
tools/Makefile.am | 2 +-
tools/Makefile.in | 2 +-
18 files changed, 187 insertions(+), 141 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 6dd5a58..ad8c2b3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,43 +1,56 @@
+Fri Jan 21 17:40:28 NZDT 2011 Stephane Popinet <popinet at users.sf.net>
+ tagged 2011-01-08
+
+Sun Jan 9 07:32:21 NZDT 2011 Stephane Popinet <s.popinet at niwa.co.nz>
+ * Applied manpages patch from Benoit Knecht
+
+Fri Nov 12 17:33:49 NZDT 2010 Stephane Popinet <popinet at users.sf.net>
+ tagged 2010-11-11
+
+Fri Nov 12 05:48:28 NZDT 2010 Stephane Popinet <s.popinet at niwa.co.nz>
+ * Added missing -lm library
+
+Fri Nov 5 17:00:33 NZDT 2010 Stephane Popinet <s.popinet at niwa.co.nz>
+ * Fixed hanging last read for gts_graph_read()
+
+Fri Mar 26 00:58:09 NZDT 2010 Stephane Popinet <popinet at users.sf.net>
+ tagged 2010-03-21
+
+Mon Mar 22 10:06:14 NZDT 2010 Stephane Popinet <s.popinet at niwa.co.nz>
+ * Fixed typo in debian control file
+
Mon Mar 22 02:56:48 NZDT 2010 Stephane Popinet <popinet at users.sf.net>
tagged 2010-03-21
Sun Mar 21 20:34:30 NZDT 2010 Stephane Popinet <s.popinet at niwa.co.nz>
* Fixed conflicts with default debian package
- Ignore-this: bb5a0f540259d966a0250b59fd342f76
Fri Mar 19 02:57:32 NZDT 2010 Stephane Popinet <popinet at users.sf.net>
tagged 2010-03-18
Thu Mar 18 20:21:23 NZDT 2010 Stephane Popinet <s.popinet at niwa.co.nz>
* Updated packaging rules for debian and buildservice
- Ignore-this: aa37b682d66f45fbdb6a8c5b7030b029
Wed Mar 17 20:32:50 NZDT 2010 Stephane Popinet <s.popinet at niwa.co.nz>
* gts.spec supports SLED10 rather than openSUSE 11.0
- Ignore-this: 602099f4860001ae9a863789b00f6833
Thu Mar 18 02:17:57 NZDT 2010 Stephane Popinet <popinet at users.sf.net>
tagged 2010-03-17
Wed Mar 17 14:07:03 NZDT 2010 Stephane Popinet <s.popinet at niwa.co.nz>
* Fixed incomplete netpbm library check
- Ignore-this: df601bcb7a6403b84db0d2c1bcfee1ed
Tue Mar 16 16:04:08 NZDT 2010 Stephane Popinet <s.popinet at niwa.co.nz>
* Added buildservice-snapshot makefile target
- Ignore-this: 8d308ac08d4a5ffd3ebace5cce92040c
Tue Mar 16 10:42:00 NZDT 2010 Stephane Popinet <s.popinet at niwa.co.nz>
* Added configure support for netpbm include directory
- Ignore-this: db2365fc0cdd8c40a7edf0f579d7a5ec
Tue Mar 16 10:04:44 NZDT 2010 Stephane Popinet <s.popinet at niwa.co.nz>
* Updated RPM spec file for use with buildservice
- Ignore-this: 57b2c25def646536fa5518104e251ef6
Fri Mar 12 15:39:04 NZDT 2010 Stephane Popinet <s.popinet at niwa.co.nz>
* Changed DTD definition for docs
- Ignore-this: 875dbf923b9ae8d29597e622ba34006d
Wed Feb 3 20:48:14 NZDT 2010 Stephane Popinet <s.popinet at niwa.co.nz>
* Changed ubuntu distribution to jaunty
@@ -65,19 +78,15 @@ Sat May 9 11:32:01 NZST 2009 Stephane Popinet <popinet at users.sf.net>
Sat May 2 11:24:22 NZST 2009 Stephane Popinet <popinet at users.sf.net>
* Man pages need to be distributed
- Ignore-this: c842267e75ff47e0870d0446d818de67
Fri May 1 16:20:54 NZST 2009 Stephane Popinet <s.popinet at niwa.co.nz>
* Added man pages from debian (thanks Ruben!)
- Ignore-this: 6219302d9f3660f284b855e0f3ef68cb
Fri May 1 13:27:40 NZST 2009 Stephane Popinet <s.popinet at niwa.co.nz>
* Updated debian package build (based on Ruben Molina's)
- Ignore-this: 96eda30e02f7132cf5c8629410c0455d
Fri May 1 12:59:11 NZST 2009 Stephane Popinet <s.popinet at niwa.co.nz>
* stl2gts ignores degenerate facets
- Ignore-this: 76dfa27e377ad0544249b11e3d9e16a2
Wed Apr 29 23:09:24 NZST 2009 Stephane Popinet <s.popinet at niwa.co.nz>
* Fix for debian package symbols generation
diff --git a/debian/control b/debian/control
index ca3a298..1fd6b67 100644
--- a/debian/control
+++ b/debian/control
@@ -23,7 +23,7 @@ Package: libgts-snapshot
Section: libs
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
-Conflicts: libgts-0.7-1, libgts-0.7.5, libgts-bin
+Conflicts: libgts-0.7-1, libgts-0.7-5, libgts-bin
Description: GTS Library (development snapshot) -- runtime environment
GTS includes a number of useful functions to deal with triangulated
surfaces. Refer to the libgts-dev package description for more
diff --git a/doc/manpages/delaunay.1 b/doc/manpages/delaunay.1
index e285297..8ff2007 100644
--- a/doc/manpages/delaunay.1
+++ b/doc/manpages/delaunay.1
@@ -1,11 +1,11 @@
-.TH delaunay 1 "June 2, 2008" "" "delaunay: constructs the constrained Delaunay triangulation of the input"
+.TH delaunay 1 "June 2, 2008" "" "GNU Triangulated Surface utils"
.SH NAME
delaunay \- constructs the constrained Delaunay triangulation of the input
.SH SYNOPSIS
.B delaunay
-.RI [OPTION] < file.gts
+.RI [\| OPTIONS \|]\ <\ file.gts
.SH DESCRIPTION
This manual page documents briefly the
@@ -18,44 +18,46 @@ This program follow the usual GNU command line syntax, with long
options starting with two dashes (`-').
A summary of options is included below.
.TP
-.B \-b, \-\-hull
+.BR \-b ,\ \-\-hull
Do not keep convex hull.
.TP
-.B \-e, \-\-noconst
+.BR \-e ,\ \-\-noconst
Do not add constrained edges.
.TP
-.B \-S, \-\-split
+.BR \-S ,\ \-\-split
Split constraints (experimental).
.TP
-.B \-H, \-\-holes
+.BR \-H ,\ \-\-holes
Remove holes from the triangulation.
-.B \-d, \-\-duplicates
+.TP
+.BR \-d ,\ \-\-duplicates
Remove duplicate vertices.
.TP
-.B \-r, \-\-randomize
+.BR \-r ,\ \-\-randomize
Shuffle input vertex list.
.TP
-.B \-c, \-\-check
+.BR \-c ,\ \-\-check
Check Delaunay property.
.TP
-.B \-f FNAME, \-\-files=FNAME
+.BI \-f\ FNAME\fR,\ \-\-files= FNAME
Generate evolution files.
.TP
-.B \-o, \-\-conform
+.BR \-o ,\ \-\-conform
Generate conforming triangulation.
.TP
-.B \-s N, \-\-steiner=N
+.BI \-s\ N\fR,\ \-\-steiner= N
Maximum number of Steiner points for conforming triangulation (default is no limit).
.TP
-.B \-q Q, \-\-quality=Q
+.BI \-q\ Q\fR,\ \-\-quality= Q
Set the minimum acceptable face quality.
-.B \-a A, \-\-area=A
+.TP
+.BI \-a\ A\fR,\ \-\-area= A
Set the maximum acceptable face area.
.TP
-.B \-v, \-\-verbose
+.BR \-v ,\ \-\-verbose
Print statistics about the triangulation.
.TP
-.B \-h, \-\-help
+.BR \-h ,\ \-\-help
Display the help and exit.
.SH AUTHOR
diff --git a/doc/manpages/gts-config.1 b/doc/manpages/gts-config.1
index 3957f63..8f36c6c 100644
--- a/doc/manpages/gts-config.1
+++ b/doc/manpages/gts-config.1
@@ -1,11 +1,11 @@
-.TH gts-config 1 "June 2, 2008" "" "gts-config: defines values for programs using gts"
+.TH gts-config 1 "June 2, 2008" "" "GNU Triangulated Surface utils"
.SH NAME
gts-config \- defines values for programs using gts.
.SH SYNOPSIS
.B gts-config
-.RI [OPTIONS] [LIBRARIES]
+.RI [\| OPTIONS \|]\ [\| LIBRARIES \|]
.SH DESCRIPTION
This manual page documents briefly the
.B gts-config
@@ -16,9 +16,9 @@ These programs follow the usual GNU command line syntax, with long
options starting with two dashes (`-').
A summary of options is included below.
.TP
-.B \-\-prefix[=DIR]
+.BI \-\-prefix\fR[\|= DIR \fR\|]
.TP
-.B \-\-exec-prefix[=DIR]
+.BI \-\-exec-prefix\fR[\|= DIR \fR\|]
.TP
.B \-\-version
.TP
diff --git a/doc/manpages/gts2dxf.1 b/doc/manpages/gts2dxf.1
index 3d63d54..92cbd6d 100644
--- a/doc/manpages/gts2dxf.1
+++ b/doc/manpages/gts2dxf.1
@@ -1,11 +1,11 @@
-.TH gts2dxf 1 "June 2, 2008" "" "gts2dxf: converts a GTS file to DXF format"
+.TH gts2dxf 1 "June 2, 2008" "" "GNU Triangulated Surface utils"
.SH NAME
gts2dxf \- converts a GTS file to DXF format.
.SH SYNOPSIS
.B gts2dxf
-.RI < input.gts > output.dxf
+.RI <\ input.gts\ >\ output.dxf
.SH DESCRIPTION
This manual page documents briefly the
diff --git a/doc/manpages/gts2oogl.1 b/doc/manpages/gts2oogl.1
index 3c296e0..5fd4aec 100644
--- a/doc/manpages/gts2oogl.1
+++ b/doc/manpages/gts2oogl.1
@@ -1,11 +1,11 @@
-.TH gts2oogl 1 "June 2, 2008" "" "gts2oogl: converts a GTS file to OOGL file format (Geomview)"
+.TH gts2oogl 1 "June 2, 2008" "" "GNU Triangulated Surface utils"
.SH NAME
gts2oogl \- converts a GTS file to OOGL file format (Geomview).
.SH SYNOPSIS
.B gts2oogl
-.RI [OPTION]... < input.srf > output.oogl
+.RI [\| OPTIONS \|]\ <\ input.srf\ >\ output.oogl
.SH DESCRIPTION
This manual page documents briefly the
@@ -17,7 +17,7 @@ This program follow the usual GNU command line syntax, with long
options starting with two dashes (`-').
A summary of options is included below.
.TP
-.B \-G, \-\-gnuplot
+.BR \-G ,\ \-\-gnuplot
Writes isolines in gnuplot format.
.TP
.B \-\-component
@@ -32,29 +32,33 @@ Color faces according to their area.
.B \-\-incomp
Color incompatible faces.
.TP
-.B \-f VAL, \-\-fold=VAL
-Color faces which make an angle smaller than VAL degrees with any of their neighbors.
+.BI \-f\ VAL\fR,\ \-\-fold= VAL
+Color faces which make an angle smaller than
+.I VAL
+degrees with any of their neighbors.
.TP
-.B \-t, \-\-faces
+.BR \-t ,\ \-\-faces
Output individual faces.
.TP
.B \-\-epv
Color vertices according to number of edges per vertex.
.TP
-.B \-H C, \-\-height=C
-Color vertices according to their C coordinate.
+.BI \-H\ C\fR,\ \-\-height= C
+Color vertices according to their
+.I C
+coordinate.
.TP
-.B \-g, \-\-gaussian
+.BR \-g ,\ \-\-gaussian
Color vertices according to Gaussian curvature.
.TP
-.B \-C, \-\-curvature
+.BR \-C ,\ \-\-curvature
Color vertices according to mean curvature.
.TP
.B \-\-boundary
Output boundary edges.
.TP
-.B \-e A, \-\-feature=A
-Output `feature' edges defined by angle A
+.BI \-e\ A\fR,\ \-\-feature= A
+Output `feature' edges defined by angle \fIA\fR.
.TP
.B \-\-non-manifold
Output non-manifold edges.
@@ -62,34 +66,44 @@ Output non-manifold edges.
.B \-\-duplicate
Output duplicate edges.
.TP
-.B \-i N, \-\-isolines=N
-Draw N isolines (levels of constant altitude).
+.BI \-i\ N\fR,\ \-\-isolines= N
+Draw
+.I N
+isolines (levels of constant altitude).
.TP
-.B \-I L, \-\-isolines=L
-Draw isoline at level L.
+.BI \-I\ L\fR,\ \-\-isolines= L
+Draw isoline at level \fIL\fR.
.TP
-.B \-\-cmap=FILE
-Load FILE as colormap.
+.BI \-\-cmap= FILE
+Load
+.I FILE
+as colormap.
.TP
-.B \-m VAL, \-\-min=VAL
-Use VAL as minimum scaling value.
+.BI \-m\ VAL\fR,\ \-\-min= VAL
+Use
+.I VAL
+as minimum scaling value.
.TP
-.B \-M VAL, \-\-max=VAL
-Use VAL as maximum scaling value.
+.BI \-M\ VAL\fR,\ \-\-max= VAL
+Use
+.I VAL
+as maximum scaling value.
.TP
-.B \-r, \-\-reverse
+.BR \-r ,\ \-\-reverse
Reverse colormap.
.TP
-.B \-n, \-\-nosurface
+.BR \-n ,\ \-\-nosurface
Do not output surface.
.TP
-.B \-F C, \-\-flatten=C
-Set C coordinate to average value.
+.BI \-F\ C\fR,\ \-\-flatten= C
+Set
+.I C
+coordinate to average value.
.TP
-.B \-v, \-\-verbose
+.BR \-v ,\ \-\-verbose
Display surface statistics.
.TP
-.B \-h, \-\-help
+.BR \-h ,\ \-\-help
Display the help and exit.
.SH AUTHOR
diff --git a/doc/manpages/gts2stl.1 b/doc/manpages/gts2stl.1
index f191974..59a097a 100644
--- a/doc/manpages/gts2stl.1
+++ b/doc/manpages/gts2stl.1
@@ -1,11 +1,11 @@
-.TH gts2stl 1 "June 2, 2008" "" "gts2stl: converts a GTS file to STL format"
+.TH gts2stl 1 "June 2, 2008" "" "GNU Triangulated Surface utils"
.SH NAME
gts2stl \- converts a GTS file to STL format
.SH SYNOPSIS
.B gts2stl
-.RI [OPTION]... < input.gts > output.stl
+.RI [\| OPTIONS \|]\ <\ input.gts\ >\ output.stl
.SH DESCRIPTION
This manual page documents briefly the
@@ -17,13 +17,13 @@ This program follow the usual GNU command line syntax, with long
options starting with two dashes (`-').
A summary of options is included below.
.TP
-.B \-r, \-\-revert
+.BR \-r ,\ \-\-revert
Revert face normals.
.TP
-.B \-v, \-\-verbose
+.BR \-v ,\ \-\-verbose
Display surface statistics.
.TP
-.B \-h, \-\-help
+.BR \-h ,\ \-\-help
Display the help and exit.
.SH AUTHOR
diff --git a/doc/manpages/gtscheck.1 b/doc/manpages/gtscheck.1
index c383516..e558384 100644
--- a/doc/manpages/gtscheck.1
+++ b/doc/manpages/gtscheck.1
@@ -1,11 +1,11 @@
-.TH gtscheck 1 "June 2, 2008" "" "gtscheck: checks that a surface defines a closed, orientable non self-intersecting manifold"
+.TH gtscheck 1 "June 2, 2008" "" "GNU Triangulated Surface utils"
.SH NAME
gtscheck \- checks that a surface defines a closed, orientable non self-intersecting manifold.
.SH SYNOPSIS
.B gtscheck
-.RI [OPTION] < FILE
+.RI [\| OPTION \|]\ <\ FILE
.SH DESCRIPTION
This manual page documents briefly the
.B gtscheck
@@ -16,12 +16,13 @@ These programs follow the usual GNU command line syntax, with long
options starting with two dashes (`-').
A summary of options is included below.
.TP
-.B \-v, \-\-verbose
+.BR \-v ,\ \-\-verbose
Print statistics about the surface.
.TP
-.B \-h, \-\-help
+.BR \-h ,\ \-\-help
Display the help and exit.
-.br
+
+.SH EXIT STATUS
The return status reflects the error encountered:
.B 0
none
diff --git a/doc/manpages/gtscompare.1 b/doc/manpages/gtscompare.1
index 1b2fe56..3f3eab0 100644
--- a/doc/manpages/gtscompare.1
+++ b/doc/manpages/gtscompare.1
@@ -1,46 +1,54 @@
-.TH gtscompare 1 "June 2, 2008" "" "gtscompare: compare two GTS files"
+.TH gtscompare 1 "June 2, 2008" "" "GNU Triangulated Surface utils"
.SH NAME
gtscompare \- compare two GTS files.
.SH SYNOPSIS
.B gtscompare
-.RI [OPTION]... FILE1 FILE2 DELTA
-.BR
-DELTA is the sampling length expressed as a fraction of the bounding box diagonal of the second surface.
+.RI [\| OPTIONS \|]
+.I FILE1 FILE2 DELTA
.SH DESCRIPTION
This manual page documents briefly the
.B gtscompare
command.
+.I DELTA
+is the sampling length expressed as a fraction of the bounding box diagonal of the second surface.
+
.SH OPTIONS
This program follow the usual GNU command line syntax, with long
options starting with two dashes (`-').
A summary of options is included below.
.TP
-.B \-s, \-\-symmetric
+.BR \-s ,\ \-\-symmetric
Symmetric statistics.
.TP
-.B \-i, \-\-image
+.BR \-i ,\ \-\-image
Output visualisation mesh.
.TP
-.B \-c FILE, \-\-cmap=FILE
-Load FILE as colormap.
+.BI \-c\ FILE\fR,\ \-\-cmap= FILE
+Load
+.I FILE
+as colormap.
.TP
-.B \-m VAL, \-\-min=VAL
-Use VAL as minimum scaling value.
+.BI \-m\ VAL\fR,\ \-\-min= VAL
+Use
+.I VAL
+as minimum scaling value.
.TP
-.B \-M VAL, \-\-max=VAL
-Use VAL as maximum scaling value.
+.BI \-M\ VAL\fR,\ \-\-max= VAL
+Use
+.I VAL
+as maximum scaling value.
.TP
-.B \-r, \-\-reverse
+.BR \-r ,\ \-\-reverse
Reverse colormap.
.TP
-.B \-l, \-\-log
+.BR \-l ,\ \-\-log
Use log scale.
.TP
-.B \-h, \-\-help
+.BR \-h ,\ \-\-help
Display the help and exit.
.SH AUTHOR
diff --git a/doc/manpages/gtstemplate.1 b/doc/manpages/gtstemplate.1
index 5bc7079..b5204ac 100644
--- a/doc/manpages/gtstemplate.1
+++ b/doc/manpages/gtstemplate.1
@@ -1,11 +1,11 @@
-.TH gtstemplate 1 "June 2, 2008" "" "gtstemplate: generates of a template used to create new object classes"
+.TH gtstemplate 1 "June 2, 2008" "" "GNU Triangulated Surface utils"
.SH NAME
gtstemplate \- generates of a template used to create new object classes.
.SH SYNOPSIS
.B gtstemplate
-.RI [OPTIONS] [LIBRARIES]
+.RI [\| OPTIONS \|]\ [\| LIBRARIES \|]
.SH DESCRIPTION
This manual page documents briefly the
@@ -21,7 +21,7 @@ A summary of options is included below.
.TP
.B \-\-no-extra-method
.TP
-.B \-\-overload=METHOD
+.BI \-\-overload= METHOD
.SH AUTHOR
gtstemplate was written by Stephane Popinet <popinet at users.sourceforge.net>.
diff --git a/doc/manpages/happrox.1 b/doc/manpages/happrox.1
index 9439202..7063dd9 100644
--- a/doc/manpages/happrox.1
+++ b/doc/manpages/happrox.1
@@ -1,11 +1,11 @@
-.TH happrox 1 "June 2, 2008" "" "happrox: returns a simplified triangulation of a set of points"
+.TH happrox 1 "June 2, 2008" "" "GNU Triangulated Surface utils"
.SH NAME
happrox \- returns a simplified triangulation of a set of points using algorithm III of Garland and Heckbert (1995).
.SH SYNOPSIS
.B happrox
-.RI [OPTION]... < [input.pgm|input] > output.gts
+.RI [\| OPTIONS \|]\ <\ [\| input.pgm | input \|]\ >\ output.gts
.SH DESCRIPTION
This manual page documents briefly the
@@ -17,31 +17,31 @@ This program follow the usual GNU command line syntax, with long
options starting with two dashes (`-').
A summary of options is included below.
.TP
-.B \-n N, \-\-number=N
-Stop the refinement process if the number of vertices is larger than N.
+.BI \-n\ N\fR,\ \-\-number= N
+Stop the refinement process if the number of vertices is larger than \fIN\fR.
.TP
-.B \-c C, \-\-cost=C
-Stop the refinement process if the cost of insertion of a vertex is smaller than C.
+.BI \-c\ C\fR,\ \-\-cost= C
+Stop the refinement process if the cost of insertion of a vertex is smaller than \fIC\fR.
.TP
-.B \-f, \-\-flat
+.BR \-f ,\ \-\-flat
Input is a flat file with three x,y,z columns (default is PGM file).
.TP
-.B \-r Z, \-\-relative=Z
-Use relative height cost for all heights larger than Z.
+.BI \-r\ Z\fR,\ \-\-relative= Z
+Use relative height cost for all heights larger than \fIZ\fR.
.TP
-.B \-k, \-\-keep
+.BR \-k ,\ \-\-keep
Keep enclosing triangle.
.TP
-.B \-C, \-\-closed
+.BR \-C ,\ \-\-closed
Close the surface.
.TP
-.B \-l, \-\-log
+.BR \-l ,\ \-\-log
Log evolution of cost.
.TP
-.B \-v, \-\-verbose
+.BR \-v ,\ \-\-verbose
Display surface statistics.
.TP
-.B \-h, \-\-help
+.BR \-h ,\ \-\-help
Display the help and exit.
.SH AUTHOR
diff --git a/doc/manpages/stl2gts.1 b/doc/manpages/stl2gts.1
index ef87f9c..ac3c29b 100644
--- a/doc/manpages/stl2gts.1
+++ b/doc/manpages/stl2gts.1
@@ -1,11 +1,11 @@
-.TH stl2gts 1 "June 2, 2008" "" "stl2gts: convert an STL file to GTS format"
+.TH stl2gts 1 "June 2, 2008" "" "GNU Triangulated Surface utils"
.SH NAME
stl2gts \- convert an STL file to GTS format.
.SH SYNOPSIS
.B stl2gts
-.RI [OPTION]... < input.stl > output.gts
+.RI [\| OPTIONS \|]\ <\ input.stl\ >\ output.gts
.SH DESCRIPTION
This manual page documents briefly the
@@ -17,16 +17,16 @@ These programs follow the usual GNU command line syntax, with long
options starting with two dashes (`-').
A summary of options is included below.
.TP
-.B \-r, \-\-revert
+.BR \-r ,\ \-\-revert
Revert face normals.
.TP
-.B \-n, \-\-nomerge
+.BR \-n ,\ \-\-nomerge
Do not merge vertices.
.TP
-.B \-v, \-\-verbose
+.BR \-v ,\ \-\-verbose
Display surface statistics.
.TP
-.B \-h, \-\-help
+.BR \-h ,\ \-\-help
Display the help and exit.
.SH AUTHOR
diff --git a/doc/manpages/transform.1 b/doc/manpages/transform.1
index 1625bec..e1b9dc7 100644
--- a/doc/manpages/transform.1
+++ b/doc/manpages/transform.1
@@ -1,11 +1,11 @@
-.TH transform 1 "June 2, 2008" "" "transform: apply geometric transformations to the input"
+.TH transform 1 "June 2, 2008" "" "GNU Triangulated Surface utils"
.SH NAME
transform \- apply geometric transformations to the input.
.SH SYNOPSIS
.B transform
-.RI [OPTION] < file.gts
+.RI [\| OPTIONS \|]\ <\ file.gts
.SH DESCRIPTION
This manual page documents briefly the
@@ -17,46 +17,58 @@ This program follow the usual GNU command line syntax, with long
options starting with two dashes (`-').
A summary of options is included below.
.TP
-.B \-r ANGLE, \-\-rx=ANGLE
-Rotate around x-axis (angle in degrees).
+.BI \-r\ ANGLE\fR,\ \-\-rx= ANGLE
+Rotate around x-axis
+.RI ( ANGLE
+in degrees).
.TP
-.B \-m ANGLE, \-\-ry=ANGLE
+.BI \-m\ ANGLE\fR,\ \-\-ry= ANGLE
Rotate around y-axis.
.TP
-.B \-m ANGLE, \-\-rz=ANGLE
+.BI \-m\ ANGLE\fR,\ \-\-rz= ANGLE
Rotate around z-axis.
.TP
-.B \-s FACTOR, \-\-scale=FACTOR
-Scale by FACTOR.
+.BI \-s\ FACTOR\fR,\ \-\-scale= FACTOR
+Scale by
+.IR FACTOR .
.TP
-.B \-R FACTOR, \-\-sx=FACTOR
-Scale x-axis by FACTOR.
+.BI \-R\ FACTOR\fR,\ \-\-sx= FACTOR
+Scale x-axis by
+.IR FACTOR .
.TP
-.B \-M FACTOR, \-\-sy=FACTOR
-Scale y-axis by FACTOR.
+.BI \-M\ FACTOR\fR,\ \-\-sy= FACTOR
+Scale y-axis by
+.IR FACTOR .
.TP
-.B \-N FACTOR, \-\-sz=FACTOR
-Scale z-axis by FACTOR.
+.BI \-N\ FACTOR\fR,\ \-\-sz= FACTOR
+Scale z-axis by
+.IR FACTOR .
.TP
-.B \-t V, \-\-tx=V
-Translate of V along x-axis.
+.BI \-t\ V\fR,\ \-\-tx= V
+Translate of
+.I V
+along x-axis.
.TP
-.B \-u V, \-\-ty=V
-Translate of V along y-axis.
+.BI \-u\ V\fR,\ \-\-ty= V
+Translate of
+.I V
+along y-axis.
.TP
-.B \-w V, \-\-tz=V
-Translate of V along z-axis.
+.BI \-w\ V\fR,\ \-\-tz= V
+Translate of
+.I V
+along z-axis.
.TP
-.B \-i, \-\-revert
+.BR \-i ,\ \-\-revert
Turn surface inside out.
.TP
-.B \-o, \-\-normalize
+.BR \-o ,\ \-\-normalize
Fit the resulting surface in a cube of size 1 centered at the origin.
.TP
-.B \-v, \-\-verbose
+.BR \-v ,\ \-\-verbose
Print statistics about the surface.
.TP
-.B \-h, \-\-help
+.BR \-h ,\ \-\-help
Display the help and exit.
.SH AUTHOR
diff --git a/examples/Makefile.am b/examples/Makefile.am
index f03f215..a4b2fc6 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -2,7 +2,7 @@
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src -I$(includedir)\
-DG_LOG_DOMAIN=\"Gts-examples\"
-LDADD = $(top_builddir)/src/libgts.la
+LDADD = $(top_builddir)/src/libgts.la -lm
DEPS = $(top_builddir)/src/libgts.la
EXTRA_PROGRAMS = happrox
diff --git a/examples/Makefile.in b/examples/Makefile.in
index d0e456b..d2d2d23 100644
--- a/examples/Makefile.in
+++ b/examples/Makefile.in
@@ -304,7 +304,7 @@ target_alias = @target_alias@
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src -I$(includedir)\
-DG_LOG_DOMAIN=\"Gts-examples\"
-LDADD = $(top_builddir)/src/libgts.la
+LDADD = $(top_builddir)/src/libgts.la -lm
DEPS = $(top_builddir)/src/libgts.la
happrox_LDADD = $(LDADD) -lnetpbm
@HAS_NETPBM_TRUE at NETPBM_EXTRA = happrox
diff --git a/src/graph.c b/src/graph.c
index 1566c95..275d090 100644
--- a/src/graph.c
+++ b/src/graph.c
@@ -1473,8 +1473,8 @@ GtsGraph * gts_graph_read (GtsFile * fp)
if (GTS_OBJECT_CLASS (g->edge_class)->read)
(*GTS_OBJECT_CLASS (g->edge_class)->read)
((GtsObject **) &new_edge, fp);
- gts_file_first_token_after (fp, '\n');
- n++;
+ if (++n < ne)
+ gts_file_first_token_after (fp, '\n');
}
}
}
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 38b5b28..b7199ab 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -2,7 +2,7 @@
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src -I$(includedir)\
-DG_LOG_DOMAIN=\"Gts-tools\"
-LDADD = $(top_builddir)/src/libgts.la
+LDADD = $(top_builddir)/src/libgts.la -lm
DEPS = $(top_builddir)/src/libgts.la
bin_PROGRAMS = gts2oogl gtscompare gtscheck stl2gts gts2dxf gts2stl
diff --git a/tools/Makefile.in b/tools/Makefile.in
index e44ff2a..ddff46e 100644
--- a/tools/Makefile.in
+++ b/tools/Makefile.in
@@ -232,7 +232,7 @@ target_alias = @target_alias@
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src -I$(includedir)\
-DG_LOG_DOMAIN=\"Gts-tools\"
-LDADD = $(top_builddir)/src/libgts.la
+LDADD = $(top_builddir)/src/libgts.la -lm
DEPS = $(top_builddir)/src/libgts.la
bin_SCRIPTS = gtstemplate
EXTRA_DIST = gtstemplate
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/gts.git
More information about the debian-science-commits
mailing list