API Reference > geometry-core > Topology > HalfEdgeGraphSearch > collectConnectedComponentsWithExteriorParityMasks collectConnectedComponentsWithExteriorParityMasks MethodStatic Collect arrays gathering faces by connected component. collectConnectedComponentsWithExteriorParityMasks(graph: , parityEdgeTester: HalfEdgeTestObject | undefined, parityMask: = HalfEdgeMask.NULL_MASK): [][] Parameter Type Description graph graph to inspect parityEdgeTester HalfEdgeTestObject | undefined (optional) function to test of an edge is a parity change. parityMask (optional, along with boundaryTestFunction) mask to apply indicating parity. If this is Mask.NULL_MASK, there is no record of parity. Returns - [][] Defined in core/geometry/src/topology/HalfEdgeGraphSearch.ts Line 186 Last Updated: 13 June, 2024