Toponaming: Bring in composite shapes for findSubshapesWithSharedVertex ( searchSubShape )
This commit is contained in:
@@ -54,11 +54,12 @@ namespace Data
|
||||
|
||||
//struct MappedChildElements;
|
||||
/// Option for App::GeoFeature::searchElementCache()
|
||||
enum class SearchOptions {
|
||||
enum class SearchOption {
|
||||
/// Whether to compare shape geometry
|
||||
CheckGeometry = 1,
|
||||
SingleResult = 2,
|
||||
};
|
||||
typedef Base::Flags<SearchOption> SearchOptions;
|
||||
|
||||
/** Segments
|
||||
* Sub-element type of the ComplexGeoData type
|
||||
@@ -483,5 +484,5 @@ protected:
|
||||
|
||||
} //namespace App
|
||||
|
||||
|
||||
ENABLE_BITMASK_OPERATORS(Data::SearchOption)
|
||||
#endif
|
||||
|
||||
@@ -165,7 +165,7 @@ public:
|
||||
* reference to the same geometry of the old element.
|
||||
*/
|
||||
virtual const std::vector<std::string>& searchElementCache(const std::string &element,
|
||||
Data::SearchOptions options = Data::SearchOptions::CheckGeometry,
|
||||
Data::SearchOptions options = Data::SearchOption::CheckGeometry,
|
||||
double tol = 1e-7,
|
||||
double atol = 1e-10) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user