OEIsRedundantDesignUnit

Attention

This API is currently available in C++ and Python.

OEIsRedundantDesignUnit(dus: OEDesignUnitVector, du: OEDesignUnit,
                        opts: OEDesignUnitEnumerateSitesOptions) -> bool

Returns true if the OEDesignUnit du is considered redundant with respect to the existing set of design units dus, using the criteria defined by the supplied OEDesignUnitEnumerateSitesOptions opts. A design unit is redundant when duplicate-removal logic (controlled by OEDesignUnitEnumerateSitesOptions.SetDuplicateRemoval) identifies it as equivalent to one already present in dus.

The input du must have 3D coordinates assigned.