georegression.geometry
Class UtilLine3D_F32
- java.lang.Object
-
- georegression.geometry.UtilLine3D_F32
-
public class UtilLine3D_F32 extends java.lang.ObjectVarious utilty functions related to lines in 3D
-
-
Constructor Summary
Constructors Constructor and Description UtilLine3D_F32()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static floatcomputeT(LineParametric3D_F32 line, Point3D_F32 pointOnLine)Computes the value of T for a point on the parametric linestatic LineParametric3D_F32convert(LineSegment3D_F32 line, LineParametric3D_F32 output)Converts aLineSegment3D_F32intoLineParametric3D_F32.
-
-
-
Method Detail
-
convert
public static LineParametric3D_F32 convert(LineSegment3D_F32 line, LineParametric3D_F32 output)
Converts aLineSegment3D_F32intoLineParametric3D_F32.- Parameters:
line- Line segmentoutput- Storage for converted line. If null new line will be declared.- Returns:
- Line in parametric format
-
computeT
public static float computeT(LineParametric3D_F32 line, Point3D_F32 pointOnLine)
Computes the value of T for a point on the parametric line- Parameters:
line- The linepointOnLine- Point on a line- Returns:
- Value of T for the point
-
-
DataMelt 3.0 © DataMelt by jWork.ORG