Beispiel #1
0
 /**
  * @param MeshTreeInterface $tree
  */
 public function addTree(MeshTreeInterface $tree)
 {
     $this->trees->add($tree);
 }
Beispiel #2
0
 /**
  * @param MeshTreeInterface $tree
  */
 public function removeTree(MeshTreeInterface $tree)
 {
     if ($this->trees->contains($tree)) {
         $this->trees->removeElement($tree);
     }
 }