of

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

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