get_corners#

FeatureSystem.get_corners(feature_id_a: int, feature_id_b: int) tuple[ndarray, ndarray]#

Calculate the four corners of two features in the feature system.

The corners are added into the feature system as new features.

Parameters#

feature_id_aint

The id of the first feature.

feature_id_bint

The id of the second feature.

Returns#

tuple (np.ndarray, np.ndarray)

Tuple with the feature ids of the four features in the first entry and the specifications, whether the features or their inverses are contained in the feature system, in the second entry.