copy method

LineSegment copy(
  1. LineSegment lineSegment
)

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;
}