1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-17 14:18:13 +01:00
dotSCAD/docs/lib3x-contains.md
2022-06-06 13:11:46 +08:00

20 lines
325 B
Markdown

# contains
If `lt` contains `elem`, this function returns `true`.
**Since:** 3.3
## Parameters
- `lt` : A list of vectors.
- `elem` : A element.
## Examples
use <voxel/vx_circle.scad>
use <util/contains.scad>
pts = vx_circle(10);
assert(contains(pts, [2, -10]));
assert(!contains(pts, [0, 0]));