Commit Graph

102 Commits

Author SHA1 Message Date
340d873d3a iterator: move each iterator to their own unit 2019-03-18 16:18:27 +11:00
f58390de06 geom/iostream: add segment ostream operator 2019-03-11 18:56:56 +11:00
922d46dd8a geom/segment: add convenience typedefs 2019-03-11 18:56:39 +11:00
b61d55ee3c build: satiate clang-tidy somewhat 2019-01-03 15:48:34 +11:00
cc2d11f102 geom/ops: add stub 'covers' test 2018-12-17 14:44:43 +11:00
9ea44a5063 geom/ops: add variadic aabb calculation 2018-11-30 14:46:41 +11:00
532bd3b706 geom: delete rval constructors for samplers
Samplers tend to hold a const reference to the relevant data and so we
want to ensure it's not possible to inadvertantly pass in a reference to
data that is going out of scope.
2018-11-28 15:23:03 +11:00
1e0a87d5df geom/sample: align the interfaces for volume/surface sampling 2018-11-26 15:21:18 +11:00
1dcb20fb53 geom/sample: Use correct grammar in comments. 2018-11-19 15:41:55 +11:00
210c963d9f geom: remove template templates from geom::sampler 2018-11-19 15:36:29 +11:00
f6056153e3 rename root namespace from util to cruft
This places, at long last, the core library code into the same namespace
as the extended library code.
2018-08-05 14:42:02 +10:00
803acc9a87 relicense under MPL-2.0 2018-08-04 15:14:06 +10:00
7f00f92e59 geom/aabb: add query for aabb corners 2018-05-21 10:47:51 +10:00
b7a4b8d1c0 geom/sample: defend against maybe unused variable 2018-05-18 13:51:34 +10:00
e77f59e3ae geom/aabb: define combining 'or' operator 2018-05-18 13:51:19 +10:00
09dfad5391 geom/aabb: add or'ing operator for points 2018-05-16 16:21:56 +10:00
1324ae2b4a geom/plane: add distance2 for plane/point 2018-05-07 11:48:32 +10:00
92ba5469c4 geom/frustum: add symbolic constants for plane indices 2018-05-07 11:09:53 +10:00
c33a679e81 geom/ray: make ray intersections more robust 2018-05-04 17:10:51 +10:00
b01173d82b maths: rename limit to clamp 2018-05-03 21:43:48 +10:00
9f6697dc2a geom/ray: correct test for negative aabb distance 2018-05-03 16:40:30 +10:00
cfefca7767 geom/ray: correct the sense of ray/plane distance 2018-05-03 16:39:57 +10:00
a1aa0c6949 geom/sample: make the extent surface sampler public 2018-05-01 16:02:55 +10:00
8b47a2e350 geom/sample: don't rely on float distances in poisson sampling 2018-05-01 16:02:23 +10:00
d72485307a geom/ellipse: add convenience ellipse3f typedef 2018-05-01 16:01:43 +10:00
a22829e9fc geom/tri: be consistent with struct/classes 2018-05-01 16:01:17 +10:00
63cf40eeca poisson-tool: use function objects for distances 2018-04-27 16:33:18 +10:00
5011c670c6 geom/tri: add tri sampler 2018-04-26 18:37:01 +10:00
4bb66d2c05 geom/sample: surface sampler should take constref 2018-04-26 18:36:29 +10:00
05f8787c91 poission: add more thoroughly documented poisson sampler 2018-04-26 17:44:16 +10:00
44d5b655ab geom/plane: correct the sense of coefficient `D' 2018-04-23 22:14:05 +10:00
6290f0be93 geom/plane: add furthest point finder 2018-04-23 15:41:58 +10:00
f3f26fca64 geom/plane: use 'd' contribution for distance 2018-04-20 15:32:20 +10:00
aab066593b geom/segment: add trivial segment representation 2018-04-20 15:08:06 +10:00
cce9333b65 geom/ray: style 2018-04-20 15:08:06 +10:00
cc83dd8713 geom/plane: add point-plane distance 2018-04-20 15:08:06 +10:00
dd369c7c9c geom/plane: add make_plane convenience function 2018-04-20 15:08:06 +10:00
56a73275c1 geom/line: add basic line class 2018-04-20 15:08:06 +10:00
89defb3bc2 geom/sample: add trivial poisson sample generator 2018-04-19 13:27:43 +10:00
dcd789a075 geom/ellipse: add naive covering ellipse impl 2018-04-18 21:48:55 +10:00
06350b53cf geom/ellipse: add sample_surface function 2018-04-17 17:11:29 +10:00
76c809f031 point/vector: homog no longer takes a size parameter 2018-04-17 14:26:23 +10:00
f7a9dc598f geom/ray: forward declare ostream operator
may be required for CHECK_SANITY
2018-04-16 16:44:26 +10:00
675969936e geom/ray: remove useless deduction guide 2018-04-16 16:44:11 +10:00
87d442772c geom/ops: remove point-point distance via sfinae
point-point distance is already defined outside of the geom namespace
2018-04-16 16:00:32 +10:00
a8b3737b8b geom/ray: remove constructors so we have a POD 2018-04-16 16:00:32 +10:00
ce246f8aa2 ellipse: add ray distance query 2018-04-16 16:00:32 +10:00
63fb76c24c geom/ray: ensure direction is normalised after transform 2018-04-16 16:00:35 +10:00
4dcd10243c geom/ray: add validator specialisation 2018-04-16 16:00:32 +10:00
2eb0b429ef geom/sphere: style 2018-04-16 16:00:32 +10:00