public override object ConvertFrom( ITypeDescriptorContext context, CultureInfo culture, object value) { if (value.GetType() == typeof(string)) { return((object)Point3I.Parse((string)value)); } return(base.ConvertFrom(context, culture, value)); }
public Vector3I(Point3I from) { this.X = from.X; this.Y = from.Y; this.Z = from.Z; }