operator + method

  1. @override
Point3 operator +(
  1. Vector3 v
)
override

Returns a new point which position is determined by moving the old point along the given vector.

Implementation

@override
Point3 operator +(Vector3 v) =>
    Point3(this.x + v.x, this.y + v.y, this.z + v.z);