public void Add(XbimBBoxClusterElement otherElement) { GeometryIds = new List<int>(otherElement.GeometryIds.Count); GeometryIds.AddRange(otherElement.GeometryIds); Bound.Union(otherElement.Bound); }
public void Add(XbimBBoxClusterElement otherElement) { // assumes both local variables and others cannot be null GeometryIds.AddRange(otherElement.GeometryIds); Bound.Union(otherElement.Bound); }
public void Add(XbimBBoxClusterElement otherElement) { GeometryIds = new List <int>(otherElement.GeometryIds.Count); GeometryIds.AddRange(otherElement.GeometryIds); Bound.Union(otherElement.Bound); }