tree select(gp_Pnt) also with extend

This commit is contained in:
Thomas Krijnen
2021-06-22 15:46:21 +02:00
parent 8f154c753c
commit 6ecedaa128
2 changed files with 26 additions and 11 deletions
+2 -2
View File
@@ -85,8 +85,8 @@
return IfcGeom_tree_vector_to_list(ps);
}
IfcEntityList::ptr select(const gp_Pnt& p) const {
std::vector<IfcUtil::IfcBaseEntity*> ps = $self->select(p);
IfcEntityList::ptr select(const gp_Pnt& p, double extend=0.0) const {
std::vector<IfcUtil::IfcBaseEntity*> ps = $self->select(p, extend);
return IfcGeom_tree_vector_to_list(ps);
}