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-05-21 12:17:55 +08:00

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