KiCad PCB EDA Suite
Loading...
Searching...
No Matches
poisson_disk.h
Go to the documentation of this file.
1
/*
2
* This program source code file is part of KiCad, a free EDA CAD application.
3
*
4
* Copyright The KiCad Developers, see AUTHORS.txt for contributors.
5
*
6
* This program is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU General Public License
8
* as published by the Free Software Foundation; either version 2
9
* of the License, or (at your option) any later version.
10
*
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, you may find one here:
18
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
19
*/
20
21
#pragma once
22
23
#include <cstdint>
24
#include <vector>
25
26
#include <
math/vector2d.h
>
27
28
29
namespace
POISSON_DISK
30
{
45
std::vector<VECTOR2D>
ToroidalUnitTile
(
double
aMinDist, uint32_t aSeed );
46
}
POISSON_DISK
Definition
poisson_disk.h:30
POISSON_DISK::ToroidalUnitTile
std::vector< VECTOR2D > ToroidalUnitTile(double aMinDist, uint32_t aSeed)
Bridson's "Fast Poisson Disk Sampling in Arbitrary Dimensions" with toroidal boundary conditions on t...
Definition
poisson_disk.cpp:32
vector2d.h
src
libs
kimath
include
geometry
poisson_disk.h
Generated on Thu Sep 17 2026 00:06:17 for KiCad PCB EDA Suite by
1.13.2