Skip to content

Commit 2ef934b

Browse files
committed
Updated all file headers to GPL version, and added GPL related files.
1 parent f7b753f commit 2ef934b

20 files changed

+1333
-277
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ ENDIF(WIN32)
8585

8686
# CPack stuff
8787
IF(NOT GoTools_ALL_COMPILE)
88-
SET(CPACK_SOURCE_PACKAGE_FILE_NAME "TTL-1.1.0")
88+
SET(CPACK_SOURCE_PACKAGE_FILE_NAME "TTL-1.2.0")
8989
SET(CPACK_SOURCE_IGNORE_FILES "/CVS/;/\\.svn/;\\.swp$;\\.#;/#;.*~")
9090
INCLUDE(CPack)
9191
ENDIF(NOT GoTools_ALL_COMPILE)

COPYING

+661
Large diffs are not rendered by default.

ChangeLog

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2013-06-06 Jan Thomassen <[email protected]>
2+
* Released version 1.2.0 of TTL.
3+
* Updated license to dual license: GNU Affero GPL 3 or
4+
commercial license.
5+
* Fixed a number of bugs.
6+
7+
17.11.2010 Jan Thomassen <[email protected]>
8+
* Released version 1.1.0.
9+
10+
10.11.2010 Jan Thomassen <[email protected]>
11+
* Changed building system to CMake (www.cmake.org)
12+
* Added 'ttl' to all header file include paths. This allows for a
13+
cleaner install of TTL on the system.
14+
* Fixed some bugs.

INSTALL

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
Installation Instructions
2+
*************************
3+
4+
The TTL package uses CMake to generate a Makefile (on Linux)
5+
or MS Visual Studio project file (on Windows).
6+
7+
For information on using CMake, see www.cmake.org.
8+
9+
As a Quick Start Guide, on Linux, make a build directory somewhere:
10+
11+
$ cd some_dir
12+
$ mkdir build
13+
$ cd build
14+
$ ccmake <path_to_source_code>
15+
16+
Follow the instructions of 'ccmake' - the CMake "GUI". Then:
17+
18+
$ make
19+
$ make install
20+
21+
On Windows, add a new build folder somewhere. Start the CMake
22+
executable and fill in the paths to the source and build folders. When
23+
you run CMake, a Visual Studio project solution file will be generated
24+
in the build folder.

README

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
This is the TTL (Triangulation Template Library) README file
2+
============================================================
3+
4+
TTL is a generic triangulation library developed at SINTEF Applied
5+
Mathematics. TTL is generic in the sense that it does not rely on a
6+
special data structure. Thus, you can operate with your own
7+
application data structure and benefit from a variety of generic
8+
algorithms in TTL that can work directly on any data structure for
9+
triangulations.
10+
11+
If you do not want to bother with making your own data structure and
12+
adapt it to TTL, you can use one of the data structures that comes
13+
with TTL and use TTL as you would use any other triangulation library.
14+
15+
TTL runs on a number of platforms, including Unix, Linux and Windows.
16+
If you have any problems it is straightforward to modify the source code.
17+
The C++ compiler must support the syntax: function< >(..,..) for calling
18+
function templates.
19+
20+
Examples of generic tools currently available are:
21+
- Incremental Delaunay triangulation
22+
- Constrained Delaunay triangulation
23+
- Insert and remove nodes in a triangulation
24+
- Searching and traversal operations
25+
- Misc. queries for extracting information for visualisation systems etc.
26+
27+
This library was developed by the Geometry Group at SINTEF ICT,
28+
Department of Applied Mathematics.
29+
30+
More information about the TTL library can be found at:
31+
32+
http://www.sintef.no/Geometry-Toolkits
33+
34+
35+
Requirements:
36+
* CMake
37+
www.cmake.org
38+
39+
A few comments on the current distribution:
40+
41+
(1) You can generate doxygen information by typing 'doxygen' in the base
42+
directory.
43+
(2) In order to compile/install the library, you need to use CMake. See
44+
the INSTALL file.
45+
46+
Good luck!
47+
48+

examples/hesimplest/main.cpp

+39-25
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,42 @@
1-
//==================================================================================================
2-
//
3-
// File: main.cpp
4-
//
5-
// Created:
6-
//
7-
// Author: Øyvind Hjelle <[email protected]>
8-
//
9-
// Revision: $Id: main.cpp,v 1.2 2006/07/26 12:08:44 oyvindhj Exp $
10-
//
11-
// Description:
12-
//
13-
//==================================================================================================
14-
// Copyright (C) 2000-2003 SINTEF Applied Mathematics. All rights reserved.
15-
//
16-
// This file is part of an example program for TTL. This example
17-
// program may be used, distributed and modified without limitation.
18-
//
19-
//==================================================================================================
20-
21-
22-
23-
//#define DEBUG_TTL_CONSTR
24-
//#define DEBUG_TTL_CONSTR_PLOT
25-
1+
/*
2+
* Copyright (C) 1998, 2000-2007, 2010, 2011, 2012, 2013 SINTEF ICT,
3+
* Applied Mathematics, Norway.
4+
*
5+
* Contact information: E-mail: [email protected]
6+
* SINTEF ICT, Department of Applied Mathematics,
7+
* P.O. Box 124 Blindern,
8+
* 0314 Oslo, Norway.
9+
*
10+
* This file is part of TTL.
11+
*
12+
* TTL is free software: you can redistribute it and/or modify
13+
* it under the terms of the GNU Affero General Public License as
14+
* published by the Free Software Foundation, either version 3 of the
15+
* License, or (at your option) any later version.
16+
*
17+
* TTL is distributed in the hope that it will be useful,
18+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
19+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20+
* GNU Affero General Public License for more details.
21+
*
22+
* You should have received a copy of the GNU Affero General Public
23+
* License along with TTL. If not, see
24+
* <http://www.gnu.org/licenses/>.
25+
*
26+
* In accordance with Section 7(b) of the GNU Affero General Public
27+
* License, a covered work must retain the producer line in every data
28+
* file that is created or manipulated using TTL.
29+
*
30+
* Other Usage
31+
* You can be released from the requirements of the license by purchasing
32+
* a commercial license. Buying such a license is mandatory as soon as you
33+
* develop commercial activities involving the TTL library without
34+
* disclosing the source code of your own applications.
35+
*
36+
* This file may be used in accordance with the terms contained in a
37+
* written agreement between you and SINTEF ICT.
38+
*/
39+
2640
#include <ttl/halfedge/HeTriang.h>
2741
#include <ttl/halfedge/HeDart.h>
2842
#include <ttl/halfedge/HeTraits.h>

include/ttl/api.h

+39
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,42 @@
1+
/*
2+
* Copyright (C) 1998, 2000-2007, 2010, 2011, 2012, 2013 SINTEF ICT,
3+
* Applied Mathematics, Norway.
4+
*
5+
* Contact information: E-mail: [email protected]
6+
* SINTEF ICT, Department of Applied Mathematics,
7+
* P.O. Box 124 Blindern,
8+
* 0314 Oslo, Norway.
9+
*
10+
* This file is part of TTL.
11+
*
12+
* TTL is free software: you can redistribute it and/or modify
13+
* it under the terms of the GNU Affero General Public License as
14+
* published by the Free Software Foundation, either version 3 of the
15+
* License, or (at your option) any later version.
16+
*
17+
* TTL is distributed in the hope that it will be useful,
18+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
19+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20+
* GNU Affero General Public License for more details.
21+
*
22+
* You should have received a copy of the GNU Affero General Public
23+
* License along with TTL. If not, see
24+
* <http://www.gnu.org/licenses/>.
25+
*
26+
* In accordance with Section 7(b) of the GNU Affero General Public
27+
* License, a covered work must retain the producer line in every data
28+
* file that is created or manipulated using TTL.
29+
*
30+
* Other Usage
31+
* You can be released from the requirements of the license by purchasing
32+
* a commercial license. Buying such a license is mandatory as soon as you
33+
* develop commercial activities involving the TTL library without
34+
* disclosing the source code of your own applications.
35+
*
36+
* This file may be used in accordance with the terms contained in a
37+
* written agreement between you and SINTEF ICT.
38+
*/
39+
140
#ifndef _API_H
241
#define _API_H
342

include/ttl/halfedge/HeDart.h

+39-25
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,42 @@
1-
//==================================================================================================
2-
//
3-
// File: HeDart.h
4-
//
5-
// Created: March 1 2001
6-
//
7-
// Author: Øyvind Hjelle <[email protected]>
8-
//
9-
// Revision: $Id: HeDart.h,v 1.2 2006/07/26 12:08:44 oyvindhj Exp $
10-
//
11-
// Description:
12-
//
13-
//==================================================================================================
14-
// Copyright (C) 2000-2003 SINTEF Applied Mathematics. All rights reserved.
15-
//
16-
// This file may be distributed under the terms of the Q Public License
17-
// as defined by Trolltech AS of Norway and appearing in the file
18-
// LICENSE.QPL included in the packaging of this file.
19-
//
20-
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
21-
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
22-
//
23-
//==================================================================================================
24-
25-
1+
/*
2+
* Copyright (C) 1998, 2000-2007, 2010, 2011, 2012, 2013 SINTEF ICT,
3+
* Applied Mathematics, Norway.
4+
*
5+
* Contact information: E-mail: [email protected]
6+
* SINTEF ICT, Department of Applied Mathematics,
7+
* P.O. Box 124 Blindern,
8+
* 0314 Oslo, Norway.
9+
*
10+
* This file is part of TTL.
11+
*
12+
* TTL is free software: you can redistribute it and/or modify
13+
* it under the terms of the GNU Affero General Public License as
14+
* published by the Free Software Foundation, either version 3 of the
15+
* License, or (at your option) any later version.
16+
*
17+
* TTL is distributed in the hope that it will be useful,
18+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
19+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20+
* GNU Affero General Public License for more details.
21+
*
22+
* You should have received a copy of the GNU Affero General Public
23+
* License along with TTL. If not, see
24+
* <http://www.gnu.org/licenses/>.
25+
*
26+
* In accordance with Section 7(b) of the GNU Affero General Public
27+
* License, a covered work must retain the producer line in every data
28+
* file that is created or manipulated using TTL.
29+
*
30+
* Other Usage
31+
* You can be released from the requirements of the license by purchasing
32+
* a commercial license. Buying such a license is mandatory as soon as you
33+
* develop commercial activities involving the TTL library without
34+
* disclosing the source code of your own applications.
35+
*
36+
* This file may be used in accordance with the terms contained in a
37+
* written agreement between you and SINTEF ICT.
38+
*/
39+
2640
#ifndef _HALF_EDGE_DART_
2741
#define _HALF_EDGE_DART_
2842

include/ttl/halfedge/HeTraits.h

+39-25
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,42 @@
1-
//===========================================================================
2-
//
3-
// File: HeTraits.h
4-
//
5-
// Created: March 1 2001
6-
//
7-
// Author: Øyvind Hjelle <[email protected]>
8-
//
9-
// Revision: $Id: HeTraits.h,v 1.2 2006/07/26 12:08:44 oyvindhj Exp $
10-
//
11-
// Description:
12-
//
13-
//===========================================================================
14-
// Copyright (C) 2000-2003 SINTEF Applied Mathematics. All rights reserved.
15-
//
16-
// This file may be distributed under the terms of the Q Public License
17-
// as defined by Trolltech AS of Norway and appearing in the file
18-
// LICENSE.QPL included in the packaging of this file.
19-
//
20-
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
21-
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
22-
//
23-
//===========================================================================
24-
25-
1+
/*
2+
* Copyright (C) 1998, 2000-2007, 2010, 2011, 2012, 2013 SINTEF ICT,
3+
* Applied Mathematics, Norway.
4+
*
5+
* Contact information: E-mail: [email protected]
6+
* SINTEF ICT, Department of Applied Mathematics,
7+
* P.O. Box 124 Blindern,
8+
* 0314 Oslo, Norway.
9+
*
10+
* This file is part of TTL.
11+
*
12+
* TTL is free software: you can redistribute it and/or modify
13+
* it under the terms of the GNU Affero General Public License as
14+
* published by the Free Software Foundation, either version 3 of the
15+
* License, or (at your option) any later version.
16+
*
17+
* TTL is distributed in the hope that it will be useful,
18+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
19+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20+
* GNU Affero General Public License for more details.
21+
*
22+
* You should have received a copy of the GNU Affero General Public
23+
* License along with TTL. If not, see
24+
* <http://www.gnu.org/licenses/>.
25+
*
26+
* In accordance with Section 7(b) of the GNU Affero General Public
27+
* License, a covered work must retain the producer line in every data
28+
* file that is created or manipulated using TTL.
29+
*
30+
* Other Usage
31+
* You can be released from the requirements of the license by purchasing
32+
* a commercial license. Buying such a license is mandatory as soon as you
33+
* develop commercial activities involving the TTL library without
34+
* disclosing the source code of your own applications.
35+
*
36+
* This file may be used in accordance with the terms contained in a
37+
* written agreement between you and SINTEF ICT.
38+
*/
39+
2640
#ifndef _HALF_EDGE_TRAITS_
2741
#define _HALF_EDGE_TRAITS_
2842

0 commit comments

Comments
 (0)