Filter out all the elementfactories in list
that can handle caps
in the given direction.
If subsetonly
is true
, then only the elements whose pads templates are a complete superset of caps
will be returned. Else any element whose pad templates caps can intersect with caps
will be returned.
list |
a List of ElementFactory to filter |
caps |
a Caps |
direction |
a PadDirection to filter on |
subsetonly |
whether to filter on caps subsets or not. |
a List of ElementFactory elements that match the given requisites. Use list_free after usage. |