GTS

From CBLFS
Jump to navigationJump to search
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.

Project Homepage: http://gts.sourceforge.net/

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 Directories: None
Installed Programs: gts-config, gts2oogl, gtscompare, gtscheck, stl2gts, gts2dxf, gts2stl, gtstemplate, transform, delaunay
Installed Libraries: libgts.la, libgts.a
Symlinks: None

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.