/// <summary> /// Substract a point from this one. /// </summary> /// <param name="point">Point to substract.</param> public void Substract(BasePoint point) { this.x -= point.X; this.y -= point.Y; this.z -= point.Z; this.IsUnset = false; }
/// <summary> /// Add a point to this point. /// </summary> /// <param name="point">Point to add.</param> public void Add(BasePoint point) { this.x += point.X; this.y += point.Y; this.z += point.Z; IsUnset = false; }
/// <summary> /// Initializes a new instance of the <see cref="BasePoint"/> class. /// </summary> /// <param name="point">Point to copy coordinates from.</param> /// <returns></returns> protected BasePoint(BasePoint point) : this(point.X, point.Y, point.Z) { }