]> granicus.if.org Git - poly2tri-c/log
poly2tri-c
12 years agoCritical: Fix a wrong usage of the g_list_cyclic* functions
Barak Itkin [Sat, 30 Jun 2012 12:49:16 +0000 (15:49 +0300)]
Critical: Fix a wrong usage of the g_list_cyclic* functions

12 years agoAdd a virtual edge struct to represent an edge that may exist
Barak Itkin [Sat, 23 Jun 2012 20:32:46 +0000 (23:32 +0300)]
Add a virtual edge struct to represent an edge that may exist

12 years agoSeveral API changes for refining meshes
Barak Itkin [Sat, 23 Jun 2012 13:08:59 +0000 (16:08 +0300)]
Several API changes for refining meshes

1. Don't show "DelaunayTerminator" outside of the library, since if we will
change an implementation it would become irrelevant. Show "Refiner" instead
2. Add a progress callback for the refining process

12 years agoMake sure that visibility isn't considered when going outside of the domain
Barak Itkin [Sat, 16 Jun 2012 15:33:55 +0000 (18:33 +0300)]
Make sure that visibility isn't considered when going outside of the domain

12 years ago1. Points were accidentally given in CW order (instead of CCW) order to the in_circle...
Barak Itkin [Sat, 16 Jun 2012 15:24:08 +0000 (18:24 +0300)]
1. Points were accidentally given in CW order (instead of CCW) order to the in_circle function. This caused lots of trouble!
2. Fix the implementation of Lawson's legalization

12 years agoImplement a different version of Lawson's legalization algorithm
Barak Itkin [Sat, 16 Jun 2012 09:14:14 +0000 (09:14 +0000)]
Implement a different version of Lawson's legalization algorithm

12 years agoFix a fatal error in the cluster object, and calm the compiler
Barak Itkin [Sat, 9 Jun 2012 16:03:26 +0000 (19:03 +0300)]
Fix a fatal error in the cluster object, and calm the compiler

12 years agoAdd changes according to commit acf81f1f1764 in poly2tri (C++)
Barak Itkin [Sun, 3 Jun 2012 19:36:03 +0000 (22:36 +0300)]
Add changes according to commit acf81f1f1764 in poly2tri (C++)

12 years agoAdd changes according to commit 44e02186c185 in poly2tri (C++)
Barak Itkin [Sun, 3 Jun 2012 19:15:01 +0000 (22:15 +0300)]
Add changes according to commit 44e02186c185 in poly2tri (C++)

12 years agoAdd changes according to commit 4f9c0ace716b in poly2tri (C++)
Barak Itkin [Sun, 3 Jun 2012 19:09:46 +0000 (22:09 +0300)]
Add changes according to commit 4f9c0ace716b in poly2tri (C++)

12 years agoFix a compilation error when using automake 1.12
Barak Itkin [Sat, 2 Jun 2012 12:29:47 +0000 (15:29 +0300)]
Fix a compilation error when using automake 1.12

12 years agoAdd a missing refrence to stdio.h
Barak Itkin [Sat, 2 Jun 2012 09:54:01 +0000 (12:54 +0300)]
Add a missing refrence to stdio.h

12 years agoFix the header install path to match commit 788b95
Barak Itkin [Sat, 2 Jun 2012 09:52:42 +0000 (12:52 +0300)]
Fix the header install path to match commit 788b95

12 years agoMove the code of the library itself inside it's own folder (poly2tri-c)
Barak Itkin [Sat, 2 Jun 2012 09:33:37 +0000 (12:33 +0300)]
Move the code of the library itself inside it's own folder (poly2tri-c)

12 years agoNest installed headers one level deeper (inside a poly2tri-c dir)
Barak Itkin [Sat, 2 Jun 2012 09:08:56 +0000 (12:08 +0300)]
Nest installed headers one level deeper (inside a poly2tri-c dir)

12 years agoAllow freeing a P2trCDT object with freeing it's P2trMesh object
Barak Itkin [Sat, 2 Jun 2012 09:08:24 +0000 (12:08 +0300)]
Allow freeing a P2trCDT object with freeing it's P2trMesh object

12 years agoInstall header files when running make install
Barak Itkin [Fri, 1 Jun 2012 18:28:35 +0000 (21:28 +0300)]
Install header files when running make install

12 years agoUpdate the copyright headers in all the code files
Barak Itkin [Fri, 1 Jun 2012 17:45:08 +0000 (20:45 +0300)]
Update the copyright headers in all the code files

12 years agoConvert line endings to unix format (\n instead of \r\n)
Barak Itkin [Fri, 1 Jun 2012 17:21:30 +0000 (20:21 +0300)]
Convert line endings to unix format (\n instead of \r\n)

12 years agoFix bad execute permissions for code files
Barak Itkin [Fri, 1 Jun 2012 17:18:38 +0000 (20:18 +0300)]
Fix bad execute permissions for code files

12 years agoAdd version numbering, pkg-config support and combine all output libs
Barak Itkin [Fri, 1 Jun 2012 15:03:39 +0000 (18:03 +0300)]
Add version numbering, pkg-config support and combine all output libs

12 years agoFix another memory leak in the mesh rendering code
Barak Itkin [Sun, 27 May 2012 19:15:41 +0000 (22:15 +0300)]
Fix another memory leak in the mesh rendering code

12 years agoFix more memory leaks
Barak Itkin [Sun, 27 May 2012 19:08:28 +0000 (22:08 +0300)]
Fix more memory leaks

12 years agoFix a memory leak in the P2trCDT constructor
Barak Itkin [Sun, 27 May 2012 18:10:39 +0000 (21:10 +0300)]
Fix a memory leak in the P2trCDT constructor

12 years agoAdd more control to the main test program
Barak Itkin [Sun, 27 May 2012 15:28:17 +0000 (18:28 +0300)]
Add more control to the main test program

12 years agoMany reference-count related fixes, especially to P2trEdge objects and to the clear...
Barak Itkin [Sun, 27 May 2012 15:25:08 +0000 (18:25 +0300)]
Many reference-count related fixes, especially to P2trEdge objects and to the clear method of the P2trMesh object

12 years agoRemember to unref mesh objects in several places
Barak Itkin [Sun, 27 May 2012 10:27:44 +0000 (13:27 +0300)]
Remember to unref mesh objects in several places

12 years agoAdd missing calls to free results in the main program
Barak Itkin [Sun, 27 May 2012 10:20:21 +0000 (13:20 +0300)]
Add missing calls to free results in the main program

12 years agoAdd a missing call to free a pointer array in P2tSweepContext
Barak Itkin [Sun, 27 May 2012 10:19:10 +0000 (13:19 +0300)]
Add a missing call to free a pointer array in P2tSweepContext

12 years agoSmall fixes to the memory management of P2trDelaunayTerminator objects
Barak Itkin [Sun, 27 May 2012 09:54:35 +0000 (12:54 +0300)]
Small fixes to the memory management of P2trDelaunayTerminator objects

12 years agoFree the GOptionContext object in the main program
Barak Itkin [Sun, 27 May 2012 09:49:02 +0000 (12:49 +0300)]
Free the GOptionContext object in the main program

12 years agoSmall fixes to the memory management of P2trCDT objects
Barak Itkin [Sun, 27 May 2012 09:46:13 +0000 (12:46 +0300)]
Small fixes to the memory management of P2trCDT objects

12 years agoRemove an unnecessary check for AR from configure.ac
Barak Itkin [Sun, 27 May 2012 09:45:44 +0000 (12:45 +0300)]
Remove an unnecessary check for AR from configure.ac

12 years agoFix a critical bug in p2tr_math_orient2d
Barak Itkin [Sat, 19 May 2012 11:32:50 +0000 (14:32 +0300)]
Fix a critical bug in p2tr_math_orient2d

12 years agoFix the main program - no need to free stack-allocated space
Barak Itkin [Sat, 19 May 2012 10:26:54 +0000 (13:26 +0300)]
Fix the main program - no need to free stack-allocated space

12 years agoFix a bug in delaunay-terminator.c (comparing removed triangles)
Barak Itkin [Sat, 19 May 2012 10:21:39 +0000 (13:21 +0300)]
Fix a bug in delaunay-terminator.c (comparing removed triangles)
Also, add debugging calls in several parts of the code

12 years agoFix several bugs in p2tr_mesh_find_point_local2
Barak Itkin [Sat, 19 May 2012 10:06:26 +0000 (13:06 +0300)]
Fix several bugs in p2tr_mesh_find_point_local2

12 years agoFix a fatal bug in p2tr_cdt_insert_point_into_triangle
Barak Itkin [Sat, 19 May 2012 10:02:58 +0000 (13:02 +0300)]
Fix a fatal bug in p2tr_cdt_insert_point_into_triangle

12 years agoAdd a bit of documentation to the CDT functions
Barak Itkin [Fri, 18 May 2012 16:47:30 +0000 (19:47 +0300)]
Add a bit of documentation to the CDT functions

12 years agoMake functions on point/edge/triangle/mesh return reffed objects
Barak Itkin [Fri, 18 May 2012 16:16:20 +0000 (19:16 +0300)]
Make functions on point/edge/triangle/mesh return reffed objects

12 years ago1. Fix a bug in p2tr_cdt_new (new point was created not through a mesh)
Barak Itkin [Fri, 18 May 2012 13:40:19 +0000 (16:40 +0300)]
1. Fix a bug in p2tr_cdt_new (new point was created not through a mesh)
2. Add debugging function to find removed edges/triangles in a CDT

12 years agoAdd both edges to a mesh (self and mirror), and allow new points to be added to a...
Barak Itkin [Fri, 18 May 2012 13:37:38 +0000 (16:37 +0300)]
Add both edges to a mesh (self and mirror), and allow new points to be added to a mesh by two-coordinates

12 years agoFix the TolerantIsPowerOfTwoLength function
Barak Itkin [Fri, 18 May 2012 13:36:03 +0000 (16:36 +0300)]
Fix the TolerantIsPowerOfTwoLength function

12 years agoFix the configure script to work when the math functions are built-in
Barak Itkin [Fri, 18 May 2012 13:30:39 +0000 (16:30 +0300)]
Fix the configure script to work when the math functions are built-in

12 years ago1. Fix a missing call to triangulate in the main test program
Barak Itkin [Sat, 12 May 2012 20:44:23 +0000 (23:44 +0300)]
1. Fix a missing call to triangulate in the main test program
2. Fix the free function of the edge class

12 years ago1. Make the compiler strict with ANSI C
Barak Itkin [Sat, 12 May 2012 20:10:54 +0000 (23:10 +0300)]
1. Make the compiler strict with ANSI C
2. Fix remaining code to compile with ANSI C
3. Fix a wrong call in the main test program that created a (0,0) point

12 years agoFix the cocentric shell split point algorithm to be more accurate and make the refine...
Barak Itkin [Sat, 12 May 2012 19:26:55 +0000 (22:26 +0300)]
Fix the cocentric shell split point algorithm to be more accurate and make the refine library compile under ANSI C

12 years agoMake the C port of the original poly2tri library ANSI C compatiable
Barak Itkin [Sat, 12 May 2012 18:02:55 +0000 (21:02 +0300)]
Make the C port of the original poly2tri library ANSI C compatiable

12 years agoupdate .gitignore
Michael Muré [Sun, 6 May 2012 14:47:07 +0000 (23:47 +0900)]
update .gitignore

12 years agofix hardcoded path for doxygen
Michael Muré [Sun, 6 May 2012 14:46:43 +0000 (23:46 +0900)]
fix hardcoded path for doxygen

12 years agomove the m4macros to the more standart and needed m4 directory
Michael Muré [Sun, 6 May 2012 14:35:39 +0000 (23:35 +0900)]
move the m4macros to the more standart and needed m4 directory

12 years agoadd a basic autogen.sh
Michael Muré [Sun, 6 May 2012 14:30:29 +0000 (23:30 +0900)]
add a basic autogen.sh

12 years agosome autotools foo to fix compilation on linux
Michael Muré [Sun, 6 May 2012 14:29:59 +0000 (23:29 +0900)]
some autotools foo to fix compilation on linux

12 years agoFix some small compilation errors
Barak Itkin [Sat, 5 May 2012 14:32:37 +0000 (17:32 +0300)]
Fix some small compilation errors

12 years agoUse libtool to build and configure libraries
Barak Itkin [Sat, 5 May 2012 14:32:17 +0000 (17:32 +0300)]
Use libtool to build and configure libraries

12 years agoVarious small changes to make the test program compile
Barak Itkin [Sat, 5 May 2012 13:10:35 +0000 (16:10 +0300)]
Various small changes to make the test program compile

12 years agoAdd a basic build system using GNU autotools
Barak Itkin [Sat, 5 May 2012 09:54:40 +0000 (12:54 +0300)]
Add a basic build system using GNU autotools

12 years agoFix the rendering code to use the library API
Barak Itkin [Fri, 4 May 2012 20:25:53 +0000 (23:25 +0300)]
Fix the rendering code to use the library API

12 years agoAPI changes to avoid computing uv coordinates twice
Barak Itkin [Fri, 4 May 2012 20:23:44 +0000 (23:23 +0300)]
API changes to avoid computing uv coordinates twice

12 years agoCommit the code for the Delaunay Terminator Algorithm
Barak Itkin [Fri, 27 Apr 2012 17:04:49 +0000 (20:04 +0300)]
Commit the code for the Delaunay Terminator Algorithm

12 years agoAdd edge cluster computation support
Barak Itkin [Fri, 27 Apr 2012 14:30:40 +0000 (17:30 +0300)]
Add edge cluster computation support

12 years agoAdd the necessary predicates for the refinement algorithm
Barak Itkin [Fri, 27 Apr 2012 13:35:14 +0000 (16:35 +0300)]
Add the necessary predicates for the refinement algorithm

12 years ago1. Add search functions to find a point in a mesh
Barak Itkin [Fri, 27 Apr 2012 10:52:59 +0000 (13:52 +0300)]
1. Add search functions to find a point in a mesh
2. Add checks to see if a point is "visible from" given edges

12 years ago1. Move common functions into shared files
Barak Itkin [Fri, 27 Apr 2012 09:12:35 +0000 (12:12 +0300)]
1. Move common functions into shared files
2. Silence many compiler warnings to make the code more C90 compatiable

12 years agoAdd code for working with CDTs
Barak Itkin [Thu, 26 Apr 2012 22:00:33 +0000 (01:00 +0300)]
Add code for working with CDTs

12 years agoAdd function for working with triangle circumcircles
Barak Itkin [Thu, 26 Apr 2012 21:58:24 +0000 (00:58 +0300)]
Add function for working with triangle circumcircles

12 years agoVarious small API additions
Barak Itkin [Thu, 26 Apr 2012 21:57:27 +0000 (00:57 +0300)]
Various small API additions

12 years agoImplement P2trMesh
Barak Itkin [Thu, 26 Apr 2012 15:10:12 +0000 (18:10 +0300)]
Implement P2trMesh

12 years agoMore work on P2trEdge, implement P2trTriangle
Barak Itkin [Thu, 26 Apr 2012 13:09:52 +0000 (16:09 +0300)]
More work on P2trEdge, implement P2trTriangle

12 years agoFix the code of the last commit to make it compile
Barak Itkin [Thu, 26 Apr 2012 11:04:12 +0000 (14:04 +0300)]
Fix the code of the last commit to make it compile

12 years agoMore work on P2trPoint, and implement P2trEdge
Barak Itkin [Thu, 26 Apr 2012 10:54:21 +0000 (13:54 +0300)]
More work on P2trPoint, and implement P2trEdge

12 years agoAdd the initial code for triangular meshes (Most work was on P2trPoint)
Barak Itkin [Sat, 21 Apr 2012 12:05:58 +0000 (15:05 +0300)]
Add the initial code for triangular meshes (Most work was on P2trPoint)

12 years agoAdd a PSLG (Planar Straight Line Graph) shape
Barak Itkin [Sat, 21 Apr 2012 09:10:40 +0000 (12:10 +0300)]
Add a PSLG (Planar Straight Line Graph) shape

12 years agoAdd Doxygen documentation support
Barak Itkin [Sat, 21 Apr 2012 09:09:04 +0000 (12:09 +0300)]
Add Doxygen documentation support

12 years agoAdd more necessary math functions
Barak Itkin [Fri, 20 Apr 2012 21:49:34 +0000 (00:49 +0300)]
Add more necessary math functions

12 years agoAdd some basic geometric primitives
Barak Itkin [Fri, 20 Apr 2012 20:22:06 +0000 (23:22 +0300)]
Add some basic geometric primitives

12 years agoRemove the old triangulation and refinement code
Barak Itkin [Fri, 20 Apr 2012 20:20:32 +0000 (23:20 +0300)]
Remove the old triangulation and refinement code

12 years agoCreate different directories for the different parts of the library.
Barak Itkin [Fri, 20 Apr 2012 17:03:28 +0000 (20:03 +0300)]
Create different directories for the different parts of the library.

12 years agoImport the code (only) from the GEGL soc-2011-seamless-clone branch
Barak Itkin [Fri, 20 Apr 2012 16:09:52 +0000 (19:09 +0300)]
Import the code (only) from the GEGL soc-2011-seamless-clone branch

The poly2tri-c code was developped inside the GEGL repository as part of the
Google Summer of Code 2011 project. It is time to seperate the repositories and
to make poly2tri-c an independent library.
The code checked in in this commit is from commit 6ae8521387 of GEGL.