mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-01-16 13:50:05 +01:00
325 B
325 B
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]));