Version: 9.15.0
AbstractPoint.cxx File Reference
#include "AbstractPoint.hxx"
#include "LinkedBlocPoint.hxx"
#include "ForkBlocPoint.hxx"
#include "NotSimpleCasePoint.hxx"
#include "SetOfPoints.hxx"
#include "BagPoint.hxx"
#include "ElementaryPoint.hxx"
#include "Node.hxx"
#include "Bloc.hxx"
#include <algorithm>
#include <iostream>
Include dependency graph for AbstractPoint.cxx:

Go to the source code of this file.

Classes

class  Visitor1
 

Functions

bool containsPtsToKill (const std::vector< AbstractPoint * > &ptsToKill, Node *node)
 

Function Documentation

◆ containsPtsToKill()

bool containsPtsToKill ( const std::vector< AbstractPoint * > &  ptsToKill,
Node node 
)

Definition at line 305 of file AbstractPoint.cxx.

306 {
307  for(auto it : ptsToKill)
308  if(it->contains(node))
309  return true;
310  return false;
311 }

Referenced by YACS::ENGINE::AbstractPoint::Rewire().