public sfc.Transform GetCombinedTransform() { if (this.transforms.Count < 1) { return(sfc.Transforms.DoNothing); } else if (this.transforms.Count == 1) { return(this.transforms[0]); } else { sfc.Transform result = this.transforms[0]; for (int i = 1; i < this.transforms.Count; i++) { result = sfc.Transforms.CompositeTransform(result, this.transforms[i]); } return(result); } }
public void RemoveTransform(IRI.Ket.Spatial.Primitives.Transform transform) { this.transforms.Remove(transform); Refresh(); }
public void AddTransform(IRI.Ket.Spatial.Primitives.Transform transform) { this.transforms.Add(transform); Refresh(); }