Revision: 75349
http://sourceforge.net/p/brlcad/code/75349
Author: starseeker
Date: 2020-04-10 21:34:28 +0000 (Fri, 10 Apr 2020)
Log Message:
-----------
checkpoint
Modified Paths:
--------------
brlcad/trunk/doc/legal/embedded/CMakeLists.txt
brlcad/trunk/doc/legal/embedded/RTree.txt
brlcad/trunk/src/libbg/aabb_ray.c
brlcad/trunk/src/libbrep/cdt/RTree.h
Added Paths:
-----------
brlcad/trunk/doc/legal/embedded/lseg_lseg.txt
Modified: brlcad/trunk/doc/legal/embedded/CMakeLists.txt
===================================================================
--- brlcad/trunk/doc/legal/embedded/CMakeLists.txt 2020-04-10 21:22:06 UTC
(rev 75348)
+++ brlcad/trunk/doc/legal/embedded/CMakeLists.txt 2020-04-10 21:34:28 UTC
(rev 75349)
@@ -21,6 +21,7 @@
hv3_combobox.txt
hv3_snit.txt
libtermlib.txt
+ lseg_lseg.txt
msinttypes.txt
mt19937ar.txt
normalize.txt
Modified: brlcad/trunk/doc/legal/embedded/RTree.txt
===================================================================
--- brlcad/trunk/doc/legal/embedded/RTree.txt 2020-04-10 21:22:06 UTC (rev
75348)
+++ brlcad/trunk/doc/legal/embedded/RTree.txt 2020-04-10 21:34:28 UTC (rev
75349)
@@ -1,5 +1,7 @@
https://github.com/DevHwan/RTree
+Copyright (c) 1995-2019 Melinda Green, Greg Douglas, Yariv Barkan, Gero Mueller
+
Original code was taken from http://www.superliminal.com/sources/sources.htm
and is stored as git revision 0. This revision is entirely free for all uses.
Enjoy!
Added: brlcad/trunk/doc/legal/embedded/lseg_lseg.txt
===================================================================
--- brlcad/trunk/doc/legal/embedded/lseg_lseg.txt
(rev 0)
+++ brlcad/trunk/doc/legal/embedded/lseg_lseg.txt 2020-04-10 21:34:28 UTC
(rev 75349)
@@ -0,0 +1,31 @@
+https://www.geometrictools.com/GTEngine/Include/Mathematics/GteDistSegmentSegment.h
+
+David Eberly, Geometric Tools, Redmond WA 98052
+Copyright (c) 1998-2019
+
+Boost Software License - Version 1.0 - August 17th, 2003
+
+Permission is hereby granted, free of charge, to any person or organization
+obtaining a copy of the software and accompanying documentation covered by
+this license (the "Software") to use, reproduce, display, distribute,
+execute, and transmit the Software, and to prepare derivative works of the
+Software, and to permit third-parties to whom the Software is furnished to
+do so, all subject to the following:
+
+The copyright notices in the Software and this entire statement, including
+the above license grant, this restriction and the following disclaimer,
+must be included in all copies of the Software, in whole or in part, and
+all derivative works of the Software, unless such copies or derivative
+works are solely in the form of machine-executable object code generated by
+a source language processor.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
+SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
+FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
+ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+DEALINGS IN THE SOFTWARE.
+
+file:src/libbg/lseg_lseg.c
+
Property changes on: brlcad/trunk/doc/legal/embedded/lseg_lseg.txt
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Modified: brlcad/trunk/src/libbg/aabb_ray.c
===================================================================
--- brlcad/trunk/src/libbg/aabb_ray.c 2020-04-10 21:22:06 UTC (rev 75348)
+++ brlcad/trunk/src/libbg/aabb_ray.c 2020-04-10 21:34:28 UTC (rev 75349)
@@ -1,3 +1,28 @@
+/* A A B B _ R A Y . C
+ * BRL-CAD
+ *
+ * Copyright (c) 2020 United States Government as represented by
+ * the U.S. Army Research Laboratory.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public License
+ * version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this file; see the file named COPYING for more
+ * information.
+ */
+/** @file aabb_ray.c
+ *
+ * Intersect a ray with an axis aligned bounding box
+ *
+ */
+
#include "common.h"
#include <math.h>
#include "vmath.h"
Modified: brlcad/trunk/src/libbrep/cdt/RTree.h
===================================================================
--- brlcad/trunk/src/libbrep/cdt/RTree.h 2020-04-10 21:22:06 UTC (rev
75348)
+++ brlcad/trunk/src/libbrep/cdt/RTree.h 2020-04-10 21:34:28 UTC (rev
75349)
@@ -1,3 +1,26 @@
+// Copyright (c) 1995-2019 Melinda Green, Greg Douglas, Yariv Barkan, Gero
Mueller
+//
+// Original code was taken from http://www.superliminal.com/sources/sources.htm
+// and is stored as git revision 0. This revision is entirely free for all
uses.
+// Enjoy!
+//
+// Due to restrictions on public domain in certain jurisdictions, code
contributed
+// by Yariv Barkan is released in these jurisdictions under the BSD, MIT or the
+// GPL - you may choose one or more, whichever that suits you best.
+//
+// In jurisdictions where public domain property is recognized, the user of
this
+// software may choose to accept it either 1) as public domain, 2) under the
+// conditions of the BSD, MIT or GPL or 3) any combination of public domain and
+// one or more of these licenses.
+//
+// Thanks Baptiste Lepilleur for the licensing idea.
+//
+// BRL-CAD is using the version from https://github.com/DevHwan/RTree, with
+// some minor tweaks for building with BRL-CAD Also, Search was modified to
+// restore the passing of a context pointer that allows the callback to record
+// information for later use. The terms of this file are the same as those
+// of the upstream version.
+
#ifndef RTREE_H
#define RTREE_H
@@ -46,9 +69,6 @@
/// Instead of using a callback function for returned results, I
recommend and efficient pre-sized,
/// grow-only memory array similar to MFC CArray or STL Vector for
returning search query result.
///
-/// This is the version from https://github.com/DevHwan/RTree, with some minor
tweaks for building with BRL-CAD
-/// Also, Search was modified to restore the passing of a context pointer that
allows the callback to
-/// record information for later use.
template<class _DataType, class _ElementType, int _NumDimensions,
class _ElementTypeReal = _ElementType, int _MaxNodeCount = 8, int
_MinNodeCount = _MaxNodeCount / 2>
class RTree
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits