mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 10:06:47 +00:00
get_total_inverses now efficiently gets the full number of references to an entity
This commit is contained in:
committed by
Thomas Krijnen
parent
cef1c86f6d
commit
5ad6d455f9
@@ -88,8 +88,8 @@ static IfcUtil::ArgumentType helper_fn_attribute_type(const IfcUtil::IfcBaseClas
|
||||
aggregate_of_instance::ptr get_inverse(IfcUtil::IfcBaseClass* e) {
|
||||
return $self->getInverse(e->data().id(), 0, -1);
|
||||
}
|
||||
int get_inverse_cardinality(IfcUtil::IfcBaseClass* e) {
|
||||
return $self->getInverseCardinality(e->data().id());
|
||||
int get_total_inverses(IfcUtil::IfcBaseClass* e) {
|
||||
return $self->getTotalInverses(e->data().id());
|
||||
}
|
||||
|
||||
void write(const std::string& fn) {
|
||||
|
||||
Reference in New Issue
Block a user