from Points
fun fromPoints(p1: Vector3<*>, p2: Vector3<*>, precision: DoubleEquivalence = DEFAULT_DOUBLE_EQUIVALENCE): Line3(source)
Creates a line from two points.
Return
A new Line3 instance representing the line through the two points.
Parameters
p1
The first point.
p2
The second point.
precision
The precision used for geometric computations, defaulting to DEFAULT_DOUBLE_EQUIVALENCE.
Throws
if the two points are the same (resulting in a zero direction vector).