• Parameters

    • graph: FOLD

      a FOLD object

    • point: [number, number]

      the point to test

    • Optional domainFunction: Function = include

      an optional domain function to specificy inclusive or exclusive.

    Returns number[]

    an array of face indices

    Description

    Given a point, get the indices of all faces which this point lies inside. An optional domain function allows you to specify inclusive or exclusive. This method is 2D only.