Skip to main content

Function: rightMost()

function rightMost(shape, tolerance?): ShapeExtremumFilter;

Defined in: finders/helpers.ts:115

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

Parameters

shape

AnyShape

tolerance?

number = 1e-6

Returns

ShapeExtremumFilter

Example

finder.when(rightMost(shape));