OEIsRedundantDesignUnit
Attention
This API is currently available in C++ and Python.
bool OEIsRedundantDesignUnit(const std::vector<OEBio::OEDesignUnit*>& dus,
const OEBio::OEDesignUnit& du,
const OESpruce::OEDesignUnitEnumerateSitesOptions& opts)
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.
See also
OEEnumerateSitesfunctionOEMakeDesignUnitsfunction