public bool ContainsInside(Vector2 a_pos) { foreach (var hole in m_holes) { if (hole.ContainsInside(a_pos)) { return(false); } } return(Outside.ContainsInside(a_pos)); }
public bool ContainsInside(Vector2 a_pos) { return(Outside.ContainsInside(a_pos) && !m_holes.Exists(h => h.ContainsInside(a_pos) || h.OnBoundary(a_pos))); }