copy method
Copies all values from the given line segment to this line segment.
Implementation
LineSegment copy(LineSegment lineSegment ) {
from.copy(lineSegment.from);
to.copy(lineSegment.to);
return this;
}
Copies all values from the given line segment to this line segment.
LineSegment copy(LineSegment lineSegment ) {
from.copy(lineSegment.from);
to.copy(lineSegment.to);
return this;
}