copyWith

open override fun copyWith(first: P, second: P): Segment2D<P>(source)

Creates a copy of this Segment2D using the specified first and second points.