/// <summary> /// For use in the <code>MapObject.Find</code> method. /// Returns solids with displacements that are sewable with this one. /// </summary> /// <param name="obj">MapObject to test</param> /// <returns>True if the given object contains a sewable displacement.</returns> private bool HasSewableDisplacement(MapObject obj) { return((obj is Solid) && ((Solid)obj).Faces.OfType <Displacement>().Any(IsSewableTo)); }
public override void Unclone(MapObject o) { PasteBase(o, null, true); }
/// <summary> /// Copies all the values of the provided object into this one, cloning children and faces. /// </summary> public abstract void Unclone(MapObject o);
public override void Paste(MapObject o, IDGenerator generator) { PasteBase(o, generator); }
/// <summary> /// Copies all the values of the provided object into this one, copying children and faces. /// </summary> public abstract void Paste(MapObject o, IDGenerator generator);