findPartsNear<T extends Part, S extends Iterable<T> > method
S
findPartsNear<T extends Part, S extends Iterable<T> >(])
This convenience function finds Parts that are within a certain distance of a given point in document coordinates.
This just calls #findObjectsNear with appropriate arguments, but ignoring Layers that are Layer#isTemporary. @param {Point} p A Point in document coordinates. @param {number} dist The distance from the point. @param {boolean=} partialInclusion Whether an object can match if it merely intersects the circular area (true) or if it must be entirely inside the circular area (false). The default is true. @param {boolean=} selectable Whether to only consider parts that are Part#selectable. The default is true. @param {List.
Implementation
S findPartsNear<T extends _i3.Part, S extends _i3.Iterable<T>>(
_i3.Point p,
_i2.num dist, [
_i2.bool? partialInclusion,
_i2.bool? selectable,
S? coll,
]) =>
_i4.callMethod(
this,
'findPartsNear',
[
p,
dist,
partialInclusion ?? _i5.undefined,
selectable ?? _i5.undefined,
coll ?? _i5.undefined,
],
);