of

fun of(start: CurveRelativeVector3D, end: CurveRelativeVector3D, tolerance: Double, endBoundType: BoundType = BoundType.CLOSED): Either<IllegalArgumentException, CurveRelativeLineSegment3D>

Creates a LineSegment3D, if start and end are not fuzzily equal according to the tolerance.