Test for changed Sketches avoiding TNP
This commit is contained in:
@@ -143,33 +143,10 @@ public:
|
||||
#ifdef FC_USE_TNP_FIX
|
||||
static bool hasMissingElement(const char *subname);
|
||||
|
||||
/** Search sub element using internal cached geometry
|
||||
*
|
||||
* @param element: element name
|
||||
* @param options: search options
|
||||
* @param tol: coordinate tolerance
|
||||
* @param atol: angle tolerance
|
||||
*
|
||||
* @return Returns a list of found element reference to the new goemetry.
|
||||
* The returned value will be invalidated when the geometry is changed.
|
||||
*
|
||||
* Before changing the property of geometry, GeoFeature will internally
|
||||
* make a snapshot of all referenced element geometry. After change, user
|
||||
* code may call this function to search for the new element name that
|
||||
* reference to the same geometry of the old element.
|
||||
*/
|
||||
// virtual const std::vector<std::string>& searchElementCache(const std::string &element,
|
||||
// Data::SearchOptions options = Data::SearchOption::CheckGeometry,
|
||||
// double tol = 1e-7,
|
||||
// double atol = 1e-10) const;
|
||||
|
||||
|
||||
/// Return the object that owns the shape that contains the give element name
|
||||
virtual DocumentObject *getElementOwner(const Data::MappedName & /*name*/) const
|
||||
{return nullptr;}
|
||||
|
||||
// virtual const std::vector<const char *>& getElementTypes(bool all=true) const;
|
||||
|
||||
/// Return the higher level element names of the given element
|
||||
virtual std::vector<Data::IndexedName> getHigherElements(const char *name, bool silent=false) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user