Commit Graph

121 Commits

Author SHA1 Message Date
3f6964f257 geom/aabb: add a cast call 2020-06-18 12:45:08 +10:00
2401cd60cf goem/segment: indices should be const 2020-02-27 11:50:24 +11:00
fe6afc1edf geom/segment: add convenience 'indices' wrapper function 2019-09-10 10:42:13 +10:00
979deaa4aa geom/traits: add initial shape_traits trait 2019-08-30 10:15:26 +10:00
33b141eb3a geom/aabb: add an aabb/point intersection test 2019-08-30 10:14:52 +10:00
f4190012bf geom/aabb: add a point_type member typedef 2019-08-30 10:14:28 +10:00
09e0b6e9a7 geom/fwd: add forward declaration for region 2019-08-30 10:14:07 +10:00
2a4401da98 geom/region: add 'bounds' specialisation for region 2019-08-29 13:10:12 +10:00
70c523d029 g/sample/surface: add region sampling 2019-08-21 08:27:07 +10:00
b6d1b74bc4 geom/sample: add edge sampling routines for extent2i 2019-08-20 15:00:26 +10:00
8beada1646 debug: split debug headers into components 2019-05-17 12:26:08 +10:00
3186d300a1 geom/aabb: add expand observer. 2019-04-08 14:05:38 +10:00
3c9b71fa56 geom/aabb: add some more documentation 2019-04-08 14:05:20 +10:00
4f9014a151 geom/segment: instantiate bounds for segments 2019-03-22 16:34:44 +11:00
382e093f57 geom/segment: add bresenham iterator 2019-03-22 15:11:01 +11:00
f6cec803d7 geom/segment: add deduction guide 2019-03-22 15:10:27 +11:00
4cf6bb292b geom/segment: add normalised and unnormalised direction queries 2019-03-21 17:36:05 +11:00
3baf7c6e94 geom/segment: add more documentation 2019-03-21 17:29:26 +11:00
39bbaa5a80 geom/segment: add segment/region intersection test 2019-03-21 17:10:52 +11:00
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