Skip to main content

Function: classifyNodeTypeBasedOnFaces()

classifyNodeTypeBasedOnFaces(f1, f2, ndx, warps, cns): ContactNeighborhood[]

Defined in: simulation/simulation.ts:480

given two faces (assuming two neighboring faces), this function determines what kind of node type should be assigned

Parameters

f1

current face

boolean | null

f2

assumes this is "last face", which makes a difference!

boolean | null

ndx

CNIndex

warps

number

cns

ContactNeighborhood[]

Returns

ContactNeighborhood[]