setLength method

void setLength(
  1. double length
)

Implementation

void setLength(double length) {
  norm();
  multiply(length);
}