Difference between revisions of "GTS"

From CBLFS
Jump to navigationJump to search
(Edited to conform with template.)
Line 5: Line 5:
 
|}
 
|}
  
 +
= Introduction to GTS =
 
GTS is the GNU Triangulated Surface Library. It is a library intended to provide a set of useful functions to deal with 3D surfaces meshed with interconnected triangles.
 
GTS is the GNU Triangulated Surface Library. It is a library intended to provide a set of useful functions to deal with 3D surfaces meshed with interconnected triangles.
  
== Dependencies ==
+
= Dependencies =
  
=== Required ===
+
== Required ==
 
* [[Glib2]]
 
* [[Glib2]]
=== Optional ===
+
== Optional ==
 
* [[Netpbm]]
 
* [[Netpbm]]
  
== Non-Multilib ==
+
= Non-Multilib =
  
 
Compile the package:
 
Compile the package:
Line 25: Line 26:
 
  make install
 
  make install
  
== Multilib ==
+
= Multilib =
  
=== 32Bit ===
+
== 32Bit ==
  
 
Compile the package:
 
Compile the package:
Line 40: Line 41:
 
  mv -v /usr/bin/gts-config{,-32}
 
  mv -v /usr/bin/gts-config{,-32}
  
=== N32 ===
+
== N32 ==
  
 
Compile the package:
 
Compile the package:
Line 53: Line 54:
 
  mv -v /usr/bin/gts-config{,-n32}
 
  mv -v /usr/bin/gts-config{,-n32}
  
=== 64Bit ===
+
== 64Bit ==
  
 
Compile the package:
 
Compile the package:
Line 67: Line 68:
 
  ln -sfv multiarch_wrapper /usr/bin/gts-config
 
  ln -sfv multiarch_wrapper /usr/bin/gts-config
  
== Contents ==
+
= Contents of GTS =
  
* Installed Programs: /usr/bin/gts-config, /usr/bin/gts2oogl, /usr/bin/gtscompare, /usr/bin/gtscheck, /usr/bin/stl2gts, /usr/bin/gts2dxf, /usr/bin/gts2stl, /usr/bin/transform, /usr/bin/delaunay
+
{| style="text-align: left;"
* Installed Libraries: /usr/lib/libgts-{{GTS-Version2}}.{so,la,a}
+
|-valign="top"
 +
! Installed Programs:
 +
|-
 +
| gts-config, gts2oogl, gtscompare, gtscheck, stl2gts, gts2dxf, gts2stl, transform, delaunay
 +
|-valign="top"
 +
! Installed Libraries:
 +
|-
 +
| libgts-{{GTS-Version2}}.{so,la,a}
 +
|}
  
=== Short Description ===
+
== Short Description ==
  
* gts2oogl: Converts a GTS file (surface file format generated by the Gts Library) to OOGL file format (Geomview).
+
{| style="text-align: left;"
* gtscompare: Compare two GTS files.
+
|-valign="top"
* gtscheck: Checks that a surface defines a closed, orientable non self-intersecting manifold.
+
! gts2oogl:  
* stl2gts: Converts an STL file to GTS format.
+
|Converts a GTS file (surface file format generated by the Gts Library) to OOGL file format (Geomview).
* gts2dxf: Converts a GTS file to DXF format.
+
|-valign="top"
* gts2stl: Converts a GTS file to STL format.
+
! gtscompare:
* transform: Applies geometric transformations to the input GTS file.
+
|Compare two GTS files.
* delaunay: Constructs the constrained [http://en.wikipedia.org/wiki/Delaunay_triangulation Delaunay triangulation] of the input GTS file.
+
|-valign="top"
 +
! gtscheck:
 +
|Checks that a surface defines a closed, orientable non self-intersecting manifold.
 +
|-valign="top"
 +
! stl2gts:
 +
|Converts an STL file to GTS format.
 +
|-valign="top"
 +
! gts2dxf:
 +
|Converts a GTS file to DXF format.
 +
|-valign="top"
 +
! gts2stl:
 +
|Converts a GTS file to STL format.
 +
|-valign="top"
 +
! transform:
 +
|Applies geometric transformations to the input GTS file.
 +
|-valign="top"
 +
! delaunay:
 +
|Constructs the constrained [http://en.wikipedia.org/wiki/Delaunay_triangulation Delaunay triangulation] of the input GTS file.
 +
|}

Revision as of 12:16, 18 December 2006

Download Source: http://prdownloads.sourceforge.net/gts/gts-0.7.6.tar.gz

Introduction to GTS

GTS is the GNU Triangulated Surface Library. It is a library intended to provide a set of useful functions to deal with 3D surfaces meshed with interconnected triangles.

Dependencies

Required

Optional

Non-Multilib

Compile the package:

./configure -–prefix=/usr &&
make

Install the package:

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./configure -–prefix=/usr &&
make

Install the package:

make install &&
mv -v /usr/bin/gts-config{,-32}

N32

Compile the package:

CC="gcc ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./configure -–prefix=/usr --libdir=/usr/lib32 &&
make

Install the package:

make install &&
mv -v /usr/bin/gts-config{,-n32}

64Bit

Compile the package:

CC="gcc ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
./configure –-prefix=/usr --libdir=/usr/lib64 &&
make

Install the package:

make install &&
mv -v /usr/bin/gts-config{,-64} &&
ln -sfv multiarch_wrapper /usr/bin/gts-config

Contents of GTS

Installed Programs:
gts-config, gts2oogl, gtscompare, gtscheck, stl2gts, gts2dxf, gts2stl, transform, delaunay
Installed Libraries:
libgts-0.7.{so,la,a}

Short Description

gts2oogl: Converts a GTS file (surface file format generated by the Gts Library) to OOGL file format (Geomview).
gtscompare: Compare two GTS files.
gtscheck: Checks that a surface defines a closed, orientable non self-intersecting manifold.
stl2gts: Converts an STL file to GTS format.
gts2dxf: Converts a GTS file to DXF format.
gts2stl: Converts a GTS file to STL format.
transform: Applies geometric transformations to the input GTS file.
delaunay: Constructs the constrained Delaunay triangulation of the input GTS file.