public bool Equals(ref TransformationNode.Transform transform) { if (rotation == transform.rotation && scaling == transform.scaling && translation.X == (double)transform.translation.X) { return(translation.Y == (double)transform.translation.Y); } return(false); }
public Transform(TransformationNode.Transform transform) { this = new TransformationNode.Transform(transform.rotation, transform.scaling, transform.translation); }