Re: [RNG][Geometry] TriangleSampler and other shape samplers

2021-04-24 Thread Gilles Sadowski
Le sam. 24 avr. 2021 à 23:32, Alex Herbert a écrit : > > On Sat, 24 Apr 2021 at 17:36, Matt Juntunen > wrote: > > > This is very interesting. With this amount of geometry code, I could > > picture this as part of a commons-geometry-rng module. The SurfaceSampler, > > for example, could make use o

Re: [RNG][Geometry] TriangleSampler and other shape samplers

2021-04-24 Thread Alex Herbert
On Sat, 24 Apr 2021 at 17:36, Matt Juntunen wrote: > This is very interesting. With this amount of geometry code, I could > picture this as part of a commons-geometry-rng module. The SurfaceSampler, > for example, could make use of the TriangleMesh and Triangle3D classes. > This would also be an

Re: [RNG][Geometry] TriangleSampler and other shape samplers

2021-04-24 Thread Matt Juntunen
and vectors. -Matt From: Alex Herbert Sent: Saturday, April 24, 2021 9:48 AM To: Commons Developers List Subject: Re: [RNG][Geometry] TriangleSampler and other shape samplers On Fri, 23 Apr 2021 at 23:31, Gilles Sadowski wrote: > Le ven. 23 avr. 2021 à 23

Re: [RNG][Geometry] TriangleSampler and other shape samplers

2021-04-24 Thread Alex Herbert
On Fri, 23 Apr 2021 at 23:31, Gilles Sadowski wrote: > Le ven. 23 avr. 2021 à 23:42, Alex Herbert a > écrit : > > > Should new coordinate based samplers be moved to a package inside for > > example: > > > > o.a.c.rng.sampling.geometry > > o.a.c.rng.sampling.shape > > Maybe. I guess that "UnitSp

Re: [RNG][Geometry] TriangleSampler and other shape samplers

2021-04-24 Thread Matt Juntunen
One more question: what are the originating use cases for these shape samplers? -Matt J From: Matt Juntunen Sent: Saturday, April 24, 2021 7:25 AM To: Commons Developers List Subject: Re: [RNG][Geometry] TriangleSampler and other shape samplers Hello

Re: [RNG][Geometry] TriangleSampler and other shape samplers

2021-04-24 Thread Matt Juntunen
t: Friday, April 23, 2021 6:31 PM To: Commons Developers List Subject: Re: [RNG][Geometry] TriangleSampler and other shape samplers Le ven. 23 avr. 2021 à 23:42, Alex Herbert a écrit : > > I recently added a UnitBallSampler to the sampling module to sample > coordinates inside a unit b

Re: [RNG][Geometry] TriangleSampler and other shape samplers

2021-04-23 Thread Gilles Sadowski
Le ven. 23 avr. 2021 à 23:42, Alex Herbert a écrit : > > I recently added a UnitBallSampler to the sampling module to sample > coordinates inside a unit ball. I also have a working TriangleSampler to > sample within a triangle and intend to create a TetrahedronSampler to > sample within a tetrahed

[RNG][Geometry] TriangleSampler and other shape samplers

2021-04-23 Thread Alex Herbert
I recently added a UnitBallSampler to the sampling module to sample coordinates inside a unit ball. I also have a working TriangleSampler to sample within a triangle and intend to create a TetrahedronSampler to sample within a tetrahedron. Currently in the released version (1.3) we only have a Uni