public CsgDifference(AbstractPovObject mainObject) { if (mainObject.Name != null) { MainObject = new PovObject(mainObject); } else { MainObject = mainObject; } }
public AbstractCsgObject Add(AbstractPovObject obj) { if (obj.Name != null) { ObjectList.Add(new PovObject(obj)); } else { ObjectList.Add(obj); } return(this); }
public PovObject(AbstractPovObject povObject) : this((string)null) { this.Object = povObject; }
public static PovObject Obj(this AbstractPovObject obj) => new PovObject(obj);