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

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]));