Odielib

Timeline
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2018 Conference, Houston/TX, US, Oct 15-19
Send your abstracts to tclconference@googlegroups.com or submit via the online form
by Aug 20.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

50 most recent check-ins

2021-11-24
15:49
Updating practcl Leaf check-in: b3eaa6d257 user: SeanWoods tags: polyset
2021-11-22
20:18
Fix to use the canned nmake system for the library builds check-in: 50f61b37d3 user: SeanWoods tags: polyset
20:00
Added an MSVC style build check-in: 87de01d585 user: SeanWoods tags: polyset
2021-11-09
17:06
Modifications to support builds under MSVC check-in: 5e8a684f27 user: SeanWoods tags: polyset
2021-11-01
15:50
Replacing __FLT_EPSILON__ with FLT_EPSILON check-in: 1aeb68a4a4 user: seandeelywoods tags: polyset
2021-10-14
14:18
Vectorxyz and Vectorxy functions now generate output a Tcl lists, rather than encode values as odiemath matrices. There seems to be a memory leak with the matrices custom object type check-in: b117a3db3a user: seandeelywoods tags: polyset
2021-05-26
20:01
Added VectorXY_to_TclList and VectorXYZ_To_Tcllist which will export a vector to the interpreter as a list instead of as a native Odie_Matrix. This is helpful for general purpose functions for which the intended output may be redirected to the expansion operator or a list or a foreach loop. Redirected the interpreter to output a list for commands where the intended output is for general purpose check-in: 989c473494 user: seandeelywoods tags: polyset
2021-05-21
19:58
Removing a free statement that was causing a crash check-in: e6d1174a64 user: seandeelywoods tags: polyset
15:25
Adding a C accellerated direct function to calculate areas of convex 3d polygons (which bypasses the Odie_FaceXYZ type) check-in: 9f7638dd50 user: seandeelywoods tags: polyset
14:06
Eliminating external uses of the the Odie_FaceXYZ data structure. Polygonxyz is about to get an overhaul check-in: d0304fbb9f user: seandeelywoods tags: polyset
13:12
Replaced the non-functioning "segset" tool with the functioning "polyset" tool implementation. While "polyset" was generating polygons, in the end it was really just manipulating segments. check-in: 8616b18ae2 user: seandeelywoods tags: polyset
2021-05-19
13:00
Moved the public_api machinery developed for polyset into a common module Added a function to restrict the calculation of a deck to inside the ship Tweaked the output of polygonxyz::triangle check-in: b7bc06f039 user: seandeelywoods tags: polyset
2021-05-17
23:13
Removing geometry test that wasn't used for polyset intersect_all check-in: b6238d9616 user: seandeelywoods tags: polyset
23:00
Tweaks and fixes check-in: 9a9348f3ba user: seandeelywoods tags: polyset
21:27
Added a magnet argument for 2d lineline intersect Renamed the "subcompartment_add" to "volume_add". Retained an alias to the old name check-in: a60be06c57 user: seandeelywoods tags: polyset
2021-05-14
20:18
Tweaked the orphan will handling for polyset, eliminated the obtuse angle rule check-in: c1ac231b56 user: seandeelywoods tags: polyset
20:06
Added explicit handling of obtuse angles and orphan wall segments in polyset check-in: 9880a3a1a6 user: seandeelywoods tags: polyset
19:13
Added a tolerance for shallow angles when computing if a polygon is convex or not check-in: 5cd9989b6d user: seandeelywoods tags: polyset
18:26
Refined how polyset detects oblique vertices check-in: c4fc245d34 user: seandeelywoods tags: polyset
17:45
Fixed the sorting criteria for convex decomposition using orthogonal walls check-in: d1c7875827 user: seandeelywoods tags: polyset
17:11
New algorithm for convex decomposition that prefers an orthogonal line check-in: c5c0df63d5 user: seandeelywoods tags: polyset
16:49
Added a new tool to compute closest orthogonal point on a segment (if possible) check-in: 20d6695c67 user: seandeelywoods tags: polyset
2021-05-11
19:59
Changing out the tests used for intersections in the polyset's closure_oblique too to a new lineline intercept test that was developed for a new C based convex decomposition tool (that didn't work, but I did find an edge case while debugging it) check-in: b9ea4179a6 user: seandeelywoods tags: polyset
2021-05-07
21:23
Eliminated the zoom feature from polyset (non of the applications intended for it used it) Added and improved edge case detection system for line intercepts Revamped the logic of line_overlap to better detect edge cases Provided a new commane "line_coincident" to give the raw answers used to determine boolean overlap. check-in: 61d138b70a user: seandeelywoods tags: polyset
2021-05-06
15:11
Added an improved algorithm for determinig edge cases with colinear lines check-in: cf63f70c7e user: seandeelywoods tags: polyset
2021-04-30
22:48
Fixed logic errors in how new segment and volume ids are numbered, especially when the "insert" method is invoked. Added a new command to polyset "polygon_within" which returns a segment, which side, and polygon tagged which encloses and arbitrary X Y point check-in: 3d746f5607 user: seandeelywoods tags: polyset
2021-04-20
14:08
Added an improved "foreach" looping function to segments in the polyset tool. Added more vertex introspection into the polyset tool The polyset tool now computes virtual and boundary conditions per vertex check-in: 036d33e3a1 user: seandeelywoods tags: polyset
2021-04-02
13:42
Removing a debugging puts statement check-in: 38d24f0015 user: seandeelywoods tags: polyset
2021-03-30
20:50
Renaming a variable in the polyset that seemed to cause a compiler error on Windows check-in: 3c1d711235 user: seandeelywoods tags: polyset
20:44
Consilidated all of the cleanup for convex decomposition into one method for polyset. The "delete" method for polyset is now "segment_delete" and instead of freeing the data structure, it is now added to the pool of freed segments check-in: 656a4ea3d6 user: seandeelywoods tags: polyset
16:33
Typo fix check-in: 8d50766c19 user: seandeelywoods tags: polyset
2021-03-22
13:43
Experimental excusursion to create a unified wallset/slicer that works as a federation of decks each maintaining their own segments and projecting the shapes on the floor to be volumes in space check-in: f83dbf759a user: seandeelywoods tags: polyset
2021-03-12
16:07
Renamed the new format for polygon::within to polygon::within_xy to allow older tools built to use polygon::within using the X Y POLY form to continue working check-in: 46239c7c27 user: seandeelywoods tags: polyset
2021-03-10
18:53
Polygon within now takes one argument for an XY vector instead of an X and Y Refactored the output for polyset segment_near Added a function to return the closest point inside of a polygon Added a function to inscribe a polygon with a copy that is smaller but at the same center Added a function to compute a point X units from the end of a line Added a function to return the closest point on a line that is NOT an endpoint check-in: 9804621e35 user: seandeelywoods tags: polyset
2021-03-08
18:30
Correcting an error caused by rounding coordinates for vertices in polyset without making all future intercepts based on the actual new location of the vertex check-in: 7e1325fc0b user: seandeelywoods tags: polyset
2021-03-05
18:32
Added tools to allow for a radius search of vertices and segments check-in: 434e6c8b3e user: seandeelywoods tags: polyset
2021-03-01
19:11
Refined algorithm for convex decomposition in the polyset object. The polyset object now implements a unique-by-deck numbering system for vertices and segments to allow projects like IRM to uniquely identify a segment across multiple levels. check-in: 91c34d577a user: seandeelywoods tags: polyset
2021-02-26
16:24
Fixed the memory deallocation for the polyset tool check-in: 753dfcb275 user: seandeelywoods tags: polyset
02:20
Eliminated concept of magnet Refactored convex decomposition check-in: b3b9b7046e user: seandeelywoods tags: polyset
2021-02-25
03:13
Adding a default magnet to the polyset tool check-in: 2b1fd66329 user: seandeelywoods tags: polyset
00:03
Polyset fixes. Vertex-add now returns the actual coordinates of the vertex either located or created. Created an "intersect_all" method which lists all interactions between a line and the segments in the polyset. Devised a new implementation for segment_add which utilize intersect_all to ensure that all segments are created in case of multiple intersections. Added a new vectorxyz::same_grid_point command check-in: c01fbf9b83 user: seandeelywoods tags: polyset
2021-02-24
02:19
Revised the polyset to fall back to a vertex search if a point on line check fails to turn up results Bug fix in segset if an orphan wall appears check-in: 156a729c02 user: seandeelywoods tags: polyset
2021-02-23
18:24
Reverting back to the old segset based convex decomposition scheme check-in: 1c3dd74f27 user: seandeelywoods tags: polyset
13:20
Typo fix check-in: 75019af794 user: seandeelywoods tags: polyset
13:14
Revised the geometric hash algorithm. Added a magnet to the polyset. Polyset will now return a all possible solutions for a convex decomposition. segment_add and vertex_add new return 0 if now meaningful change was made. Point checks now take into account a grid. check-in: 59b5bd2aff user: seandeelywoods tags: polyset
2021-02-19
18:01
Clearing up some compiler warnings. Adding a "polygon::edges_flat" command intended to allow odie polygons to interface with convex_subpolygons command. check-in: 89fcea18f4 user: seandeelywoods tags: polyset
2021-02-17
18:39
Working on improving the convex decomposition in the polyset object Fixed a segfault in polyset's "segment_add" method if the segment already exists. check-in: 5047aadff0 user: seandeelywoods tags: polyset
2021-02-16
17:28
Minor optimizations for the way polygons report if they are convex and vectorxy compares vectors. Added "polygon_list" operator for polyset, brought notation up to date with the lastest PractclOO spec check-in: 8a706c09d8 user: seandeelywoods tags: polyset
2021-02-12
16:11
Corrected the formula for computing the barycenter of a polygon. Adapted a new area function based on the same architecture as the barycenter calc (and thus we can compute both, as well as whether the polygon is convex or not in one pass) Added a boolean C type to odie's parameter mapping check-in: 2808634056 user: seandeelywoods tags: polyset
2021-02-05
20:24
Removing whitespace gremlins from the btree.tcl file Leaf check-in: 7e67bad2e3 user: seandeelywoods tags: trunk