Skip to main content

Function: frontMost()

function frontMost(shape, tolerance?): ShapeExtremumFilter;

Defined in: finders/helpers.ts:128

Creates a predicate selecting elements touching the shape's maximum Y bound.

"Front" is defined as the positive Y direction.

Parameters

shape

AnyShape

tolerance?

number = 1e-6

Returns

ShapeExtremumFilter

Example

finder.when(frontMost(shape));