Commit Graph

104 Commits

Author SHA1 Message Date
Stefan Brüns
2767672286 Cleanup use of M_PI/PI defines
gprim/geom2d.cpp includes mystdlib.h, which already has a fallback define
for M_PI. As geomfuncs.cpp also includes mystdlib.h, use M_PI instead
of a truncated value.

occ/Partition_Loop2d.cxx already gets M_PI from the opencascade headers
(~everything includes Standard_Real.hxx, which includes Standard_math.hxx,
which sets _USE_MATH_DEFINES for Windows and includes math.h).
2021-03-10 00:46:58 +01:00
Joachim Schöberl
476a4c350c robust Polyhedron::VecInSolid option 2020-10-14 16:37:01 +02:00
Matthias Hochsteger
f55e3e6eb4 move DelaunayTree to adtree.hpp 2020-10-14 12:00:37 +02:00
Joachim Schöberl
a894ebc9f5 stable pseudo-inverse, improve edge-analysis for revolution 2020-10-11 22:16:47 +02:00
Matthias Hochsteger
0852a20fff some DLL_HEADER 2020-09-24 16:58:59 +02:00
Matthias Hochsteger
12b2e073ac CSG for 2D 2020-08-19 16:46:32 +02:00
Matthias Hochsteger
a0f70b4d73 SplineSeg3 ctor with custom weight 2020-08-13 19:52:55 +02:00
Joachim Schöberl
c074e0c752 reduce duplicated mpi-wrapping 2020-07-31 09:57:19 +02:00
Matthias Hochsteger
df97e45bd1 SplitImprove2 - cleanup, new point at min dist of edges 2020-07-20 18:56:36 +02:00
Christopher Lackner
79b1d22185 some more python Vec and Pnt arithmetic 2019-12-10 14:04:53 +01:00
Matthias Hochsteger
a0921a5e7f Fix Vec<> comparison operator
- Iterate over size of Vec<> (thx Joachim)
- Declare it const (otherwise pybind compares the pointers to the data
    arrays instead)
2019-11-28 11:05:17 +01:00
Matthias Hochsteger
05e6456ec2 Vec3d to Vec<3>, comparison operator for Vec<> 2019-11-27 14:47:24 +01:00
Christopher Lackner
c361d1712d little cleanup in adfront2 2019-10-23 14:44:07 +02:00
Christopher Lackner
09dbdd7a53 remove not used file 2019-10-01 17:30:52 +02:00
Matthias Hochsteger
7ced41e56f Use searchtree in STLBoundary 2019-10-01 12:19:22 +02:00
Matthias Hochsteger
ef64a5e7eb Replace BoxTree with BTree 2019-10-01 11:22:30 +02:00
Christopher Lackner
bf217b9934 change PointNd to Point<N> adfront2 2019-09-29 16:22:00 +02:00
Christopher Lackner
ca2212879e Change some PointNd to Point<N> functions 2019-09-29 14:54:24 +02:00
Christopher Lackner
4d5fe67d83 fix vec constructor from point and make explicit 2019-09-27 17:01:12 +02:00
Joachim Schöberl
0c4b90c4c4 template functions to header 2019-09-24 10:13:35 +02:00
Joachim Schöberl
f008de5b04 searchtree with BlockAllocator (again) 2019-09-23 20:49:12 +02:00
Joachim Schöberl
6ad36f73cb move BoxTree to headers 2019-09-21 09:45:29 +02:00
Matthias Hochsteger
3ce00d1a0c Remove AlignedAlloc
Instead, use a global new (size_t, align_t) operator for MacOS versions
(pre 10.14 is lacking full C++17 support in the standard library).

On all other platforms/versions we expect full C++17 support.
2019-08-14 13:09:57 +02:00
Joachim Schöberl
234d441a90 Range::Modify() 2019-08-09 18:10:21 +02:00
Joachim Schöberl
9118ddc63a preparations to switch T_POINTS to ngcore::Array 2019-08-09 15:30:58 +02:00
Joachim Schöberl
75e84ea40f fix warnings 2019-08-07 18:36:16 +02:00
Matthias Hochsteger
c5acbacadb Rename ArrayMem to NgArrayMem 2019-07-09 18:00:12 +02:00
Matthias Hochsteger
cb87362f64 Rename Array to NgArray 2019-07-09 10:39:16 +02:00
Joachim Schöberl
dab8c827fe Constructor for Trafo by rotation along an arbitrary axes, combine trafos 2019-03-25 12:33:16 +01:00
Joachim Schöberl
e42f81b5d5 take care of tolerance in searchtree 2019-02-05 09:02:31 +01:00
Joachim Schöberl
cc732689c2 start modernizing delaunay 2019-02-02 16:24:30 +01:00
Matthias Hochsteger
247b2a2892 [cmake] Replace object libraries with interface libraries 2019-01-08 13:12:24 +01:00
Matthias Hochsteger
58007f1eaf Fix cmake error 2019-01-07 11:56:31 +01:00
Christopher Lackner
fd3474f5cb logging in ngcore 2018-12-28 13:43:15 +01:00
Christopher Lackner
099acc9fa1 pickling for all geometry types 2018-12-14 12:01:58 +01:00
Christopher Lackner
c5af003bba Merge remote-tracking branch 'gitlab/master' into ngcore 2018-12-13 13:19:40 +01:00
Christopher Lackner
3bb82dd2df DoArchive for array only if T is archivable, little cleanup 2018-12-07 11:20:47 +01:00
Christopher Lackner
fdfb596e9c archive for CSGeometry 2018-12-06 17:53:44 +01:00
Joachim Schöberl
e4d6ff8302 point-sources in 2D 2018-12-04 06:58:12 +01:00
Christopher Lackner
7bfc48e8f3 start ngcore, archive in there 2018-11-29 18:35:30 +01:00
Joachim Schöberl
d7bf88e0cd modernize STL-meshing 2018-07-29 12:03:56 +02:00
Joachim Schöberl
c20c2061f4 export SetTransformation 2018-06-25 19:25:17 +02:00
Joachim Schöberl
633376972f archiving the mesh 2018-04-27 08:36:22 +02:00
Joachim Schöberl
aa8dbac6be export Trafo to py, IdentifyPeriodic with Trafo 2018-03-09 15:29:50 +01:00
Joachim Schöberl
cf0d3f6682 fix warnings 2018-03-08 21:36:34 +01:00
luz.paz
58002505bc Typos
Found via `codespell`
2018-01-14 12:18:54 -05:00
Joachim Schöberl
7cf05d84a8 AVX512 for element-trafos 2017-11-23 21:26:36 +01:00
Joachim Schöberl
1d02f7f104 geometric search tree with hash-table 2017-11-13 11:58:13 +01:00
Joachim Schöberl
af57dd1b72 improve STL makeatlas: searchtree, templetize searchtree 2017-11-10 13:22:20 +01:00
Joachim Schöberl
60c80fe9fc use (double) factor for 2D hprefinement for strength of geometric refinement 2017-10-03 06:34:09 +02:00