We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e906116 commit 66682b7Copy full SHA for 66682b7
src/building.js
@@ -414,7 +414,7 @@ class Building {
414
415
/**
416
* Check if any point in a part is within this building's outline.
417
- * It only checknof points are inside, not if crossing events occur, or
+ * It only checks if points are inside, not if crossing events occur, or
418
* if the part completly surrounds the building.
419
* @param {BuildingPart} part - the part to be tested
420
* @returns {bool} is it?
@@ -426,6 +426,8 @@ class Building {
426
return true;
427
}
428
429
+ // @todo
430
+ // return BuildingShapeUtils.surrounds(this.outerElement.shape, part.center);
431
return false;
432
433
0 commit comments