main/src/georegression/geometry/UtilLine3D_F64.java
public static LineParametric3D_F64 convert( LineSegment3D_F64 line , LineParametric3D_F64 output ) {
		if( output == null )
			output = new LineParametric3D_F64();

		output.p.set(line.a);
		output.slope.x = line.b.x - line.a.x;
		output.slope.y = line.b.y - line.a.y;
		output.slope.z = line.b.z - line.a.z;

		return output;
	}
public static LineParametric3D_F64 convert( LineSegment3D_F64 line , LineParametric3D_F64 output ) {
		if( output == null )
			output = new LineParametric3D_F64();

		output.p.set(line.a);
		output.slope.x = line.b.x - line.a.x;
		output.slope.y = line.b.y - line.a.y;
		output.slope.z = line.b.z - line.a.z;

		return output;
	}
public static LineParametric3D_F64 convert ( LineSegment3D_F64 line , LineParametric3D_F64 output ) { if ( output == null ) output = new LineParametric3D_F64 ( ) ; output . p . set ( line . a ) ; output . slope . x = line . b . x - line . a . x ; output . slope . y = line . b . y - line . a . y ; output . slope . z = line . b . z - line . a . z ; return output ; }
Converts a {@link LineSegment3D_F64} into {@link LineParametric3D_F64}.

@param line Line segment
@param output Storage for converted line.  If null new line will be declared.
@return Line in parametric format
Converts a { @link LineSegment3D_F64 } into { @link LineParametric3D_F64 } .