clone method

LineSegment clone()

Creates a new line segment and copies all values from this line segment.

Implementation

LineSegment clone() {
	return LineSegment().copy( this );
}