Returns an integer mask of the port constraints for the given terminal and edge.
CellState that represents the terminal.
CellState that represents the edge.
Boolean that specifies if the terminal is the source terminal.
Default value to be returned if no port constraint is defined in the terminal.
the mask of port constraint directions
Returns an integer mask of the port constraints for the given terminal and edge.